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
Lisa SeilerLisa Seiler 

html email template 3 down relation

Hi everyone,
I have a problem with merge/realation field in my template.
I want to add this to get the company name:
{!Order__c.PersonAccountId__c.Company__c}

But it is not working.
{!Order__c.PersonAccountId__c} is working fine and the name of the account appears.

All are only lookups and no master detail and PersonAccountId__ reffered to a simple Account object

 I have tried it with following too:
{!Order__r.PersonAccountId__r.Company__c}
{!Order__c.PersonAccountId__r.Company__c}
{!Order__r.PersonAccountId__c.Company__c}
It is not working.

Is someone able to help me?

Best
Lisa