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
SeanSeeSeanSee 

Merge Fields into Hyperlink in HTML Template

I am trying to find a way to use a merge field in an HTML template to create a hyperlink.  We have a formula field in a campaign member record that will create a hyperlink to a webform.  However we want to be able to use a merge field in a custom HTML template that is not from a letterhead and have it display in the email as a hyperlink.  Is there a way to accomplish this?

BA_AdminBA_Admin

 you can try using  custom template ....

CLKCLK

try out that merge field in anchor tag

e.g.      <a href="$Object.UrlField__c"> $Object.UrlField__c </a> in custom template.

Pradeep_NavatarPradeep_Navatar

You can use merge fields as a hyper link through custom template.

 

For eg: {!$site.currentsiteurl} it will returns the value of the site URL for the current request.

Similiarly you can create a custom field of data type URL and put in the merge field and use it in custom template.