+ Start a Discussion
Ajay Kumar 583Ajay Kumar 583 

How to add URL link to Email Template?

Hi,

I have created a html Email Template in which the  Opportunity Owner will get Email Whenever the Amount is >= 500000 using Workflow rule . 
Now i need to add a URL in the same html Email Template  when the user click on “Link”, user must redirect to Opportunity record for which email was sent. ie., the record which the amount is >=500000.
how to create url of this type??

Thanks
prem ranjan 37prem ranjan 37
@Ajay:   Create a formula field on opportunity: LEFT($Api.Partner_Server_URL_260, FIND( '/services', $Api.Partner_Server_URL_260)) with text type and

In Email template use Anchor tag: <a  href={!Opportunity.fieldApiName__c}> {!OpportunityIdOrName}</a>