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
DHO_604DHO_604 

Visual Force email template attaching another Visualforce page as pdf

Hi,

 

I have a VF email template and would like to use another VF Page as a pdf attachment.  It'd be great if you can shed some light on how to do this.

 

TIA!

PratzPratz

It cannot be done directly. One workaround is to

1) Create a VF Page, Take a screenshot of the VF Page and paste it in Word

2) Convert the Word file to PDF

3) Attach the PDF file to the email template.