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
PhilliesFanPhilliesFan 

Can I create a PDF from a report?

Hello All,

 

Is there a way that I can automatically create a PDF document from a report in Salesforce?  I believe that it can be done via a visualforce page?   OR can a custom button be created and added to the page that you can click on to create a PDF?  Please advise.

 

Thanks,

 

Phillies Fan

shillyershillyer

Not that I'm aware, but if you are using the latest version of Excel, you can save as PDFs. So export from Salesforce to Excel and then save to PDF. Otherwise, you have Visualforce2PDF.

 

Best,

Sati

Ravi Dutt SharmaRavi Dutt Sharma
Hey Phillies,

AFAIK, it is not possible to add any button the standard report page. You have to create a VF page and use the renderAs="pdf" attribute to achieve this. Instead of coding the entire report in your VF page, you can embed the standard report in your page and add a button to the VF page which will generate the pdf.