Skip to main content
August 28, 2025
Solved

Plugins for CSV import

  • August 28, 2025
  • 13 replies
  • 1 view

Hi 

Can I have some plugins for the following requirement,

  • We need to offer the user to import a CSV file and once the user uploads the file, we need to parse the data in the file and show it on a grid below. CSV file is going to follow a template with defined set of columns, the number of rows alone would vary. 
Best answer by stefanhelzle0001

Depending on the data volume, this might be the right approach.

13 replies

stefanhelzle0001
August 28, 2025

OK. Did you check the app market for any fitting plugins?

August 28, 2025

Excel Tools is what I have found so far. But from the description it looks like we have to import the file to DB and then read from table to display the grid data.

stefanhelzle0001
August 28, 2025

Depending on the data volume, this might be the right approach.

shubhama926776
August 28, 2025

There are two approaches for CSV import -> readcsvpaging() for in-memory parsing and the Import CSV to Database plugin for direct database import. Since your requirement involves a fixed template CSV with only varying row counts, I recommend using the Import CSV to Database plugin. This approach directly imports data into a temp table in a single operation, which you can then query through Records and display in a read-only grid. It's faster and more robust than in-memory processing, especially for large datasets, as it bypasses memory constraints and leverages database-level operations. Additionally, using Records as your data source automatically provides filtering, sorting, and pagination capabilities for the grid. This makes it the optimal solution for handling CSV imports with varying row counts while maintaining performance and flexibility.

August 28, 2025

Hi Shubham, can you share the Import CSV to Database plugin URL?

shubhama926776
August 28, 2025
September 1, 2025

Use the Excel Tools plug-in (readcsvlogtoCDT()) to parse the uploaded CSV into a CDT and then display the CDT list in a grid; for large files, use the CSV Importer Smart Service to load into DB before showing in a grid.

mikes0011
Brainy
September 2, 2025
readcsvlogtoCDT()

I'm not sure this is actually in *Excel Tools* (if so it's not in a version I can check), but also, the functions named like "read CSV log ..." are specifically geared to reading one of the Appian system's Log files, and can't be fed a user-uploaded file under any circumstances.