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
NJDeveloper019NJDeveloper019 

Email Template record links

I am building a workflow that will send out an email everytime an Account is created.  I would like the email template to include a link to the newly created account record although I do not see if this is possible.  Has anybody done anything like this?
Best Answer chosen by Admin (Salesforce Developers) 
shillyershillyer

Use this merge field in your email template:

 

{!Account.Link}

 

Hope that helps,

Sati

All Answers

shillyershillyer

Use this merge field in your email template:

 

{!Account.Link}

 

Hope that helps,

Sati

This was selected as the best answer
NJDeveloper019NJDeveloper019
Thanks alot.  Once again this board has saved me.
Krishna Prasad K PKrishna Prasad K P

How can I generate a link with just ID. Means my main record has a field (not a lookup field) which actually contains the ID of a related record. So I need to genarate the link to that record in the email.

like:

 

Request :  {!Request__c.Link}

Related to  :  {!Request__c.Related_Id.Link}

 

Please help me to create the "Related To" link.

 

Thanks,

Krishna

developer_2013developer_2013

Hi,

 

I have a Master Detail relationship (Form and Record) (1:M) and I need to send an email as an approval process to the approver. In the email body I need to get the value fields of both Form and Record. But I am not getting value fields of Records in the email body but I get the value fields of Form. The email template I created displayed all value fields of both Fields and Records before I added an approval process.

 

So I'm thinking to give the approver a link in the email body to view the values added in the record. My email template is a text template and I tried the above solution but it didnt work. This is what I tried,

 

{!Form__c.ExpenseRecord__c.Id.Link}

 

I'm new to salesforce so I wonder if someone can give a solution.

 

Thanks!

David Jimenez RDavid Jimenez R
This could be useful on email templates ;)

{!Account.Link}
{!Case.Link}

Thanks