Published on June 16, 2026
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
Fast to set up: Install the managed package, drop the component on a page and you are done. No code needed.
Capture exactly what you need: Download the window, the full page, a component by index, or any element using a CSS selector.
Branded and tailored: Set your own button label and PDF file name, including dynamic names built from Salesforce merge fields.
PDF or image: Use the PDF Downloader or Image Downloader to get PDF or PNG output.
Combine components: Merge multiple page components into one PDF with the Multi-Component PDF Compiler.
Point and click targeting: The Interactive Modal Selector lets admins pick the target visually and captures the CSS selector or component index automatically.
Where It Makes a Difference
Use Case
Benefit
Field service
Field agents download case details for offline, on-site reference.
Knowledge articles
Service agents save articles as PDFs to use offline or share with customers.
Email threads
Export a full email thread as one PDF to attach to vendor support forms.
Audit and record keeping
Keep 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
Download the visible content of the current window, the entire page, or specific components.
Customize the output PDF file name.
Tailor the button label for PDF generation.
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.
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.
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.
Special Character Rendering: Occasionally, special characters may not render correctly in the PDF output.
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
Limitation
Workaround
Non-PNG images
Convert images to PNG
Images on another domain
Host images on the same domain as the record page
SVG icons or buttons
Not 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.