function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
dani-mestrelabdani-mestrelab 

Recurrent related lists on VF email templates

Hi there,

 

I want to do this: create an email template to report a Sales Manager about the new opportunities created.

So:

1- I list the opportunities

2- I list  Opportunity Line Items using the a code similar to this one at the wiki

3- And then I would need to list the Product (another related list) at that product lines.

 

How would you do that? I don't know how to do it...

 

Thank you so much!

 

PS. this would also be interesting to.

1- List an account

2- List its contacts

3- List cases related to those contacts...

 

and many more situations

gv007gv007
for this you need to write controllers and VF page .see cook book in the documentation similar related example is their.