Skip to Content
0
Sep 03 at 10:38 AM

file upload as a param for a Action inside CAP

71 Views Last edit 6 days ago 3 rev

Hi

I am trying to create a Action to allow user to upload a CSV file. After that, I will read the CSV file and import it into the database.

So far, all the document or the answer is about create an entity, then azar upload the file into that entity, which we can modify the behavior with custom handler. But since I'm not saving these file, this way seem not correct. Or I have to define a custom route inside the Express App for this kind of feature?