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
Guyver118Guyver118 

Create pdf from email template?

Hi i was wondering if it is possible to create pdfs from the standard email templates i.e. when someone clicks on send email and chooses the email template that maybe using javascript render a pdf aswell, any ideas on implementation?
shillyershillyer

When you create an standard email template, you can set an attachment that will be loaded every time the template is loaded.

 

But it sounds like you want the pdf to be created dynamically with the email. You can do this with Visualforce Email Templates. The Visualforce code can also dynamically generate a pdf and send this to the recipient. Check out this blog for more details.

 

Hope that helps,

Sati

Nikhil DevNikhil Dev

Hi Guyver,

did you find any work around for this? I am in need of similar type of requirement.