Can I read from multiple csv files

Answered
JOSEPH MHANNA asked on September 13, 2018

Dear Support,
 
is there a way to read from multiple CSV files at the same time.
Knowing that those files have the same columns.
In fact, I need my clients to upload CSV files to a directory where flexmonster read them and display the data.
 
Best Regartds,
Joseph Mhanna

3 answers

Public
Tanya Gryshko Tanya Gryshko Flexmonster September 13, 2018

Hello, Joseph,
Thank you for writing to us.
When specifying the data source, the filename parameter can contain either the URL to the CSV file or to the script which generates CSV data. We suggest creating the script which will combine the data from multiple CSV files.
Please let me know in case of further questions.
Regards,
Tanya

Public
JOSEPH MHANNA September 13, 2018

Can you please send me a sample script that can combine multiple files. and how to do it/

Public
Tanya Gryshko Tanya Gryshko Flexmonster September 13, 2018

We suggest using this thread on Stack Overflow to achieve this: https://stackoverflow.com/questions/27037378/how-to-merge-two-csv-files-in-javascript
Regards,
Tanya

Please login or Register to Submit Answer