You need to sign in to do that
Don't have an account?

How to display related list of a lookup for the RelatedToType object in a Visualforce email template?
Hi all,
I am trying to build an email template, where I can diaplay information about three objects:
- Opportunity has a lookup to Account
- Account has a Contacts related list
What I want is to show:
- Opportunity.Name : it is possible
- Account data: it is possible
- Contacts data: not possible?
The RelatedToType would be Opportunity, so when the opportunity has change in the stage, this should fire an automatic email, the content in the email template.
Does anybody know if this can be handled in an email template?
I am trying to build an email template, where I can diaplay information about three objects:
- Opportunity has a lookup to Account
- Account has a Contacts related list
What I want is to show:
- Opportunity.Name : it is possible
- Account data: it is possible
- Contacts data: not possible?
The RelatedToType would be Opportunity, so when the opportunity has change in the stage, this should fire an automatic email, the content in the email template.
Does anybody know if this can be handled in an email template?
https://medium.com/@cynthiabellmcgillis/todays-the-day-write-your-first-visualforce-email-template-fbbdeec2592c