---
title: Lightning Convert Component
description: Use the Previewer in Lightning Flows, VisualForce, ... . You can just pass in the variables and the component will show the PDF. This component can be fully tailored by your needs and provides an easy way to show a…
url: "https://pdfbutler.com/academy/pdf-butler-academy/pdf-butler-lightning-components/lightning-convert-component/"
updated: "2024-08-16"
category: PDF BUTLER LIGHTNING COMPONENTS
---

# Lightning Convert Component

Use the Previewer in Lightning Flows, VisualForce, ... . You can just pass in the variables and the component will show the PDF.

This component can be fully tailored by your needs and provides an easy way to show a preview in a Flow

Get the component by contacting: support@pdfbutler.com

[Custom Lightning Convert Component without Parameters](https://www.youtube.com/embed/E1eP326UHeg?si=X14kTwN7I59X4Dzc)

You can easily provide 5 parameters to the component. These parameters can be passed on to the DataSources for filtering.
 Possible Types for parameters (They have to be copied as these are case sensitive):

- String
- Double
- Date
- DateTime
- Boolean
- MultiSelect: for a list of values, these have to be separated by ';' eg abc;123;yxz

[Custom Lightning Convert Component with Parameters](https://www.youtube.com/embed/FdjmIcpXE0E?si=MF4y6DSKoxRNOWMb)

Feed KeyValue DataSources into Lightning Convert Component via Flow.

[Feed KeyValue DataSources into Lightning Convert Component via Flow](https://www.youtube.com/embed/rHgfjli1V1I?si=fwz4D_tbitV5czLy)
