Cards to CSV
Cards are able to be downloaded as CSV files.
Create a card download as CSV button
Using Button components, cards can be downloaded as CSVs from the frontend.
INFO
Ideally a card to be converted to CSV should typically contain either a Grid or Table component.*
Drag a Button component into the desired card. This button will be the button clicked to initiate the CSV download.
Select the button icon in the card editor panel to open the button properties. Under the Styling section, write
Download CSV
into the Text property.Under the Export section, there are two essential properties for creating a CSV download button:
- Card Export - Set this to the Name of the card that should be downloaded on click.
- Card Export Format - For a CSV, this should either be set to
CSV
orCSV_V2
. See differences below:- CSV - Standard CSV download which will work with table and grid components only.
- CSV_V2 - CSV downloader that works with lists. If a table is wrapped in a list in order to render, this will be the version to select.
Once these two properties are set, save the card. The download button will now work on the frontend.
INFO
All components contain a "CSV Visible" property under the "Export" section. If the CSV version of a card should ignore a component, set this to "No".