Hello,
I´m using this code to get my csv file, parse and import to table:
let csvFile = await input.fileAsync(
‘Pick a CSV file to upload’,
{allowedFileTypes: p’.csv’], hasHeaderRow: true}
);
What I am not figuring it out is how to make that is always the same file, without me needing to choose one - without input.
If anyone knows how to, I would really appreciate.