You need to sign in to do that
Don't have an account?
S2
How to get the lookup field value using visualforce email template
Hi ,
I have one custom object which has lookup to standard object Opportunity and i want to display the opportunity id and name in email template and my relatedToType is custom object . I gave {!relatedTo.opportunity__r.id} and {!relatedTo.opportunity__r.name} but i am not getting the id and name values of opportunity object.
Please let me know if any one worked on the same requirement .
Thank you in advance