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
ranendu banerjeeranendu banerjee 

Access parent object in HTML template

Hi
I need to acces parent object fields in html email template. how to access this ?
ManojjenaManojjena
Hi Ranendu ,

I think you are serching for html email template . If yes then you can access parent objcet fields in that .Assume you are creating a template in Contact object then you will find account fields .

If you want to refer a list of parent records then you can refer through VF template and you can use relatedTo .Objects relationship name will give you list of records .

You can use any repeating component to iterate the list .

Thnaks
Manoj