Lightning PDF Generator Introduction

Published on June 16, 2026 Lightning PDF Generator



Lightning PDF Generator

Lightning PDF Generator: turn any Salesforce page into a shareable PDF or image.

Meet Lightning PDF Generator: Salesforce Pages to PDF in One Click

Your team already has the information they need on a Salesforce record page. Lightning PDF Generator lets them take it with them. Download the visible view, the entire page, or only the components that matter as a clean PDF, with no complex template mapping, no Apex and no Visualforce.

In short: Add the component in Lightning App Builder, choose what to capture, and your users get a PDF with one click. What you see on the page is what you get in the file.

Why Teams Choose Lightning PDF Generator

Where It Makes a Difference

Use CaseBenefit
Field serviceField agents download case details for offline, on-site reference.
Knowledge articlesService agents save articles as PDFs to use offline or share with customers.
Email threadsExport a full email thread as one PDF to attach to vendor support forms.
Audit and record keepingKeep audit-ready copies of record layouts and case history.
Pro tip: Use CSS selectors to export only the section of the page you need, such as a single component, instead of the full page.

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. Support for CSS selectors for precise element targeting and custom content on the page.

Good to Know: Known Limitations

Please review before generating PDFs. The limitations below can affect how your output looks.
  1. PNG Image Support Only: The tool supports only PNG images. If your custom content includes other image formats, 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 PDF generation. Since Salesforce uses SVG images for certain UI buttons, those may not be rendered in the PDF.

Quick Reference

LimitationWorkaround
Non-PNG imagesConvert images to PNG
Images on another domainHost images on the same domain as the record page
SVG icons or buttonsNot supported; they may not appear in the PDF

Get Started and Get Support

Ready to try it? Follow the Installation and Configuration guide, then set up the PDF Downloader or Image Downloader on your record pages. Questions or pricing? Contact info@codeylabs.com.

Knowledge Article Number: KA-00200

View more articles in the knowledge base