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
Vikas Kumar 135Vikas Kumar 135 

Visualforce email template with Opportunity and Quote Data

Hi All,

Need your help. I have written a workflow which triggers an email with Opportunity data. But the team wants some data from the Quote (Amount, Start Date, End Date, Discount) which was created last. I know this is only possible using Visualforce email template. I have never created a Visualforce template, can anyone please help me with the template, Apex controller, and the component which I have to write to get this data.
Thanks for the help in advance.

Regards,
​Vikas