Incorrect component is being downloaded
Published on February 23, 2026 Lightning PDF Generator
The wrong component is being downloaded
When Lightning PDF Generator's Download Type is set to Component, it uses the Component Display Index setting to determine which component on the page to capture. This field is required whenever "Component" is selected as the download type.
If the downloaded PDF shows the wrong component, check the following:
- Confirm Component Display Index is set. If it's left blank or set incorrectly, the wrong component — or none at all — may be captured.
- Check that the index matches your target component's position on the page. If your page has multiple components, the index determines which one is captured based on its order on the page.
- Re-check the index after rearranging components. If you've added, removed, or reordered components on the page since setting this value, the index your PDF button points to may no longer match the component you intend.
See also: the Lightning PDF Generator setup guide for full configuration details, including Download Type options.
Knowledge Article Number: KA-00208