You need to sign in to do that
Don't have an account?
How to display hyperlink in email template
Requirment is : I need to send an email alert which should have a link to the Account.
I have created a email alert (email Template Type is Text) on a custom Object whose parent is Account. When the user clicks on the link in his mail, should take him to the account.
My Code in email Template is:
'The Account Message can be found on the Account here <a href = https://domain.com/' +CustomObject.Account__c + ' > CustomObject.Account__c </a>.
I trid this also
'The Account Message can be found on the Account here <a href = https://domain.com/' +CustomObject.Account__r.Name + ' > CustomObject.Account__r.Name </a>.
My Problems is: Account Name(CustomObject.Account__r.Name) is not displayed with the hyperLink.
can anyone help. Thanks in advance
Use email template type as HTML rather than text to work .
<a href = https://domain.com/' +{!CustomObject.Account__c}+ ' > {!CustomObject.Account__r.Name} </a>.
Hi,
I created a new email Template (HTML type). and have given The Account Message can be found on the Account here <a href = domain/' +{!CusomObject.Account__c}+ ' > {!Custom Object.Account__r.Name} </a>. Still i am not able to see the link under account name. It displays me the whole <a> </a> tag.
Kindly help me.