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
Anna Rudenko 9Anna Rudenko 9 

How to dispay Approval Request link in visualforce email template?

Hello,
I would like to display the link for Approval Process Object in Visualforce email template.
The template has the following conditions:
   recipientType="Contact" 
   relatedToType="Opportunity"
How can I display same URL used in HTML template here: ApprovalRequest.External_URL? so it links to an approval page directly?
Thanks for any input
Anna
Shivdeep KumarShivdeep Kumar
Hi Anna,

Please take a look on below links, it will help you.

http://www.vandeveldejan.com/tips/for-developers/11-create-an-approval-notification-with-visualforce-email-template-containing-quote-and-quotelineitems

https://success.salesforce.com/answers?id=90630000000hcrIAAQ

Thanks
Shivdeep
Sprutiraj Panda 7Sprutiraj Panda 7
HI Shivadeep
The above link which you send both are not work .properly after use & modify The below Errro will receive.

Error: Unknown property 'core.email.template.EmailTemplateComponentController.Account'