Set Up a Data Export Option
Administrators can give constituents the ability to download data in a file format such as CSV, JSON, etc. within Community Hub. By default, data can be exported as a CSV file, but additional file formats can be exported through development effort.
By default, data is downloaded as a CSV file. If you want to export a file other than a CSV, you'll need to create a custom Apex class through development effort and create an export configuration record.
Create a data export URL which uses a data source, a field set, and optionally, an export configuration record.
- Create Community Hub component constituents can click to download the file in Community Hub:
Create a button with the data export URL in
URL
(recommended).Create a custom label containing HTML code which includes the data export URL and add it to a card using the DisplayHTML Card Layout.
Add the new element to a card.