3

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?

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

1 Answer 1

5

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

0

You must log in to answer this question.

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