I do have a Visualforce Email template created in the Org as below-
<messaging:emailTemplate subject="Quote {!relatedTo.Quote__r.Name} has been rejected" recipientType="User" relatedToType="sbaa__Approval__c">
<messaging:htmlEmailBody >
<html>
<body>
The following quote has been rejected:
<b>Quote: </b>{!relatedTo.Quote__r.Name} <br/>
<b>Opportunity Name: </b>{!relatedTo.Quote__r.SBQQ__Opportunity2__r.Name} <br/>
<b>Opportunity Owner: </b>{!relatedTo.Quote__r.SBQQ__Opportunity2__r.Owner.Name} <br/>
<br></br>
<b>Rejection Notes: </b>{!relatedTo.sbaa__CommentsLong__c} <br/>
</body>
</html>
The requirement is to add the hyperlink on the Quote, Opportunity Name, Opportunity Owner fields based on the Org.
How I can achive this behavior?
Thanks in advance !
3 个回答
Hi Shraddha, Have you tried the anchor tag ?
<a href="Opportunity URL">Opportunity Name</a>