Uploading a JSON file and outputting in a table

Hi All,

I’m trying to make a small app where you can upload a JSON file from the front end and output it in a table.

I’ve looked at this

So I’m just wondering if there is a way to make the data source dynamic via an upload? - Can someone point me in the right direction please?

Ta
M

If it is just to update data, then I would assume you would just upload the json file, as long as all the field names are the same and the file name is the same, then it should just over write the old file.

Hi.
If you can work with JS, you can probably find some JS library that does this all on client side.
You could integrate with Wappler’s components using variables/arrays.

Else, you can create a custom module which would read the uploaded JSON file and return its contents as an array. You can then use this response for binding in tables directly.

Would love to see an example of this if anyone has done it! :slight_smile:

1 Like