Introduction

Welcome to the Lightning PDF Generator documentation. This tool allows Salesforce users to easily download the current view of a page or a component as a PDF. With this tool, you can capture specific parts of a page or the entire page, and customize the file name and button label.



Key Features

  1. Download the visible content of the current window, the entire page, or specific components.
  2. Customize the output PDF file name.
  3. Tailor the button label for PDF generation.
  4. Supports CSS selectors for precise element targeting and custom content on page.

Known Limitations

  1. PNG Image Support Only : The tool supports only PNG images. If your custom content includes images in formats other than PNG, those images will not appear in the generated PDF.
  2. Domain-Specific Image Hosting : For custom content, images not hosted on the same domain as the record page will not be displayed in the PDF.
  3. Special Character Rendering : Occasionally, special characters may not render correctly in the PDF output.
  4. SVG Image Incompatibility : SVG images are not supported in the PDF generation process. Since Salesforce uses SVG images for certain UI buttons, those may not be rendered in the PDF.



Redirecting you to the article... Click here if you are not redirected automatically.