You need to sign in to do that
Don't have an account?
Hariom Kankerwal
Adding link to a related record in HTML Email template
I'm trying to add a detail link to an HTML Email template, to link to a related record on the object being merged into the e-mail.
I am aware of the process for adding a link/detail link for the object in the template by using
{!Communication__c.Link}
But my Communication object has a lookup to a Case called ParentId__c (which I can be sure is not null..) and I want to link to THIS object... my initial thought was to use
{!Communication__c.ParentId__r.Link}
and it would traverse the relationship, and then merge out the Link value as with other objects, but this has not worked.
I am aware of the process for adding a link/detail link for the object in the template by using
{!Communication__c.Link}
But my Communication object has a lookup to a Case called ParentId__c (which I can be sure is not null..) and I want to link to THIS object... my initial thought was to use
{!Communication__c.ParentId__r.Link}
and it would traverse the relationship, and then merge out the Link value as with other objects, but this has not worked.
Hi
Kindly check this link that matches your requirement :-
https://salesforce.stackexchange.com/questions/33035/adding-link-to-a-related-record-in-html-email-template
regards,
Priya Ranjan
<a href={!MID(Account.Link, 1, LEN(Account.Link)-15)}{!Account.Id}}>{!Account.Name}</a>.