Open honghuzi opened 2 years ago
I think, you would need to store the session id in a private field of the model, e.g. id__
.
Then you can read the session I'd in the routine of your upload route and store the file in a session-specific directory
Let me try to come up with a guide/tutorial
Hello everyone, I am building my own web app with Stipple.jl. I am struggling now on uploading files. I followed the demo in https://github.com/GenieFramework/StippleDemos/blob/master/BasicExamples/CsvUpload/CSVUpload.jl and wrote my own CSV uploader. The problem is, I'd assign the DataFrames extrated from uploaded file to the main ReactiveModel just created. I just don't know how to achieve this. If that is impossible, should i use global variables instead?
below are the codes
The features I need are:
As mentioned by Essenciary in the Discords, these will be more easily achieved in Genie5 version. I am eager to see the coresponding demos.