Font Size:
Ask Joget AI

Download CSV or Excel Action

Introduction

The Download CSV or Excel Action plugin allows you to effortlessly export data from Joget's datalists in Excel or CSV formats. It also provides flexibility in customizing headers and footers. This plugin is especially useful for handling large datasets and supports background downloads. Also known as Export CSV or Excel Plugin. 

The source code for this plugin is available in the JogetOSS repository at GitHub.

Plugin information

  • Plugin Bundle:
    1. Download CSV or Excel Datalist Action
    2. Download CSV or Excel Tool
  • Compatibility: Joget DX 8

Get started

Where to get the plugin

You can download the plugin's latest release from the Marketplace or JogetOSS.

How to install

  1. Download the plugin JAR file from the release page.
  2. Go to Settings > Manage Plugins > Upload Plugin to upload the JAR file to Joget.
  3. Go to the List Builder where you want to add the plugin.
  4. Drag the Download CSV or Excel element from the Actions section to the list.
  5. Configure the plugin by filling in the required properties. For more information, see the Configure Download CSV or Excel Action Properties section.

  6. Save your changes and preview the list.

How to use it

  1. Go to the UI where your datalist is displayed. You will see the Download CSV or Excel button.
  2. Click the button to download the file in the configured format (CSV or Excel).
  3. Open the downloaded CSV file in any file viewer (e.g., Microsoft Excel) to view the contents of the selected rows from the datalist.

Exporting Image (For Excel Only)

  1. For Exporting image, you need to use Image formatter at datalist for the file or image upload column.
  2. In the datalist action, the Include Images plugin configuration should be set to Yes. This plugin configuration will only appear if export format is Excel.
  3. Go to the UI, export the record. You can see the images in the Excel file. 

 

Exporting Encrypted Data

  1. Check if the field in form has "Encryption" checked.
  2. By default, the data wil be exported in unencrypted format even the field has "Encryption" checked.
  3. To export data with encryption, in the datalist action, the Export with Encrypted Data plugin configuration should be set to Yes.
  4. The data will be exported in encrypted format. 

 

Downloading large content

  1. For large CSV downloads, a download progress bar will appear.
  2. For large Excel files, if you set the Download in Background (Excel only) option to Yes, a progress window will appear showing the export status with a percentage and step indicator (Export records → Prepare file → Ready). Once complete, the file downloads automatically and a confirmation is shown.
  3. Once the file is ready, it will appear in the Downloads section.
    • Downloading with Excel File Downloaded

Known issues

When using diverse character encodings (e.g., Arabic, Chinese, Thai), CSV files opened in Microsoft Excel may display gibberish characters.

Two Solutions:

  1. Change Encoding with Notepad++
    • Open the CSV file in Notepad++.
    • From the Encoding drop-down, select UTF-8-BOM.

       After changing the encoding, the issue will be fixed.
  2. Import CSV in Excel
    • In Excel, go to Data > From Text/CSV.

    • Follow the import steps and load the file. The encoding issue will be resolved.

Configure download CSV or excel action properties


Fields to configure:

  • Label: The text displayed on the download button.
  • Download As: Choose between CSV or Excel format.
  • Data Batch Size: Number of records fetched per batch when exporting all records. Enter a positive whole number. Default: 2000 (also used when blank or invalid).
  • Delimiter (CSV only): Symbol used as a delimiter for CSV files (defaults to a comma if left blank).
  • Include Footer (Column): Includes the footer in the exported file if selected.
  • Confirmation Message:Default joget plugin configuration. Is not used in this plugin.
Advanced settings

Fields to configure:

  • Custom Header: Allows customizing the header row names.
  • Custom Footer: Adds a custom footer to the exported file.
  • Export All Records When None Selected: If no records are selected, all records are downloaded.
  • Includes Images: Allows exporting images to Excel file only
  • Export with Encrypted Data: Allows exporting data rows with encryption.
  • Export Numeric Value for Selected Column: Allows exporting numeric value for desired column. Only for Excel export.
  • Form: Select form to select column in grid to export numeric value
  • Select Column: Select desired column to export numeric value
File settings

Field to configure:

  • Rename File: Rename the generated file (default is "report.extension").
Download setting

Field to configure:

  • Download in Background (Excel only): Allows the generation and downloading of Excel files to run in the background.

    This config is useful for users who want to download large datasets, as it maintains a connection to the server while generating large files.

    If this config is not turned on when generating/downloading large Excel files, the server might time out. See Downloading Large Contents for the usage.

Note: When enabled, a progress window displays the export status step-by-step until the file is ready for download.
Form to store file

Fields to configure:

  • Store Files to form: Checkbox that, when selected, enables the ability to store generated CSV or Excel files within the specified form.
  • Form: This dropdown allows to select the specific form where the generated CSV or Excel files will be saved.
  • File Field: This field specifies the file upload field within the selected form that will store the generated files.

Expected outcome

You will be able to export data from your datalists into CSV or Excel format.

Related video tutorials

Download plugin

You can download the plugin's latest release from the Marketplace or JogetOSS.

Created by Julieth Last modified by Nabila Jahan on Sep 14, 2026