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

Referencing different objects in VF email templates
Hello,
I am wondering if it is possible to cross-reference a different object inside a VisualForce email template, other than what the template was originally set up as. For example, if I create a VF Email template related to the opportunity, I can reference opportunity fields fine. However, if I need to reference something under the Account object, I have been unable to find a way to do so. Is this possible?
More information:
I am wondering if it is possible to cross-reference a different object inside a VisualForce email template, other than what the template was originally set up as. For example, if I create a VF Email template related to the opportunity, I can reference opportunity fields fine. However, if I need to reference something under the Account object, I have been unable to find a way to do so. Is this possible?
More information:
relatedToType="Opportunity" {!relatedTo.OpportunityField__c} = works {!Account.ebp_account_name__c} = does not workAny help or insight would be appreciated greatly!
{!relatedTo.Account.ebp_account_name__c}
if still don't work, promote below idea :)
https://success.salesforce.com/ideaview?id=08730000000Brk7AAC
All Answers
{!relatedTo.Account.ebp_account_name__c}
if still don't work, promote below idea :)
https://success.salesforce.com/ideaview?id=08730000000Brk7AAC