I have two objects Parent and Child, I have created email alert on child with HTML email template, I have to send the link of site page in that mail template with URL parameter as Id of Parent, but when I used merge field as {!Child__c.Parent__c} it is populating value from Name field on Parent Record. How can I get Id instead?

  • Have you tries {!Child__c.Parent__r.Id}
    – Reshma
    Dec 13, 2018 at 7:43
  • Yes I tried but its not supported in email templates. Dec 13, 2018 at 7:55

1 Answer 1


You need {!Child__c.ParentId__c} to get the ID of the field.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .