Aug 18, 2024
116 Views
Comments Off on PDF in Salesforce as easy as ordering pizza
0 0

PDF in Salesforce as easy as ordering pizza

Written by

Source of post: Generate PDF in Salesforce without any app

Generating a PDF within Salesforce can be done with VisualForce and Apex. It is very easy (even for those with very little VisualForce and Apex experience). You are able to generate any Salesforce page as a PDF by adding the renderAs attribute to the component, and specifying “pdf” as the rendering service.

We first need to create a Visualforce page that will have the PDF Content. Below is the simple Visualforce page that will display Account details with the help of the Account Standard Controller.

 

Article Categories:
Salesforce