Plugins for CSV import

Certified Senior Developer

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. 

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    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.

  • 0
    Certified Senior Developer
    in reply to Shubham Aware

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

Reply Children