If I have a file structure similar to the one specified in the “Multi-Page Apps and URL Support”:
- app.py - index.py - apps |-- app1.py |-- app2.py
And I want to save data contained in each of the “apps” to one file using dcc.Download. What would be the best way to do this?
I already tried putting dcc.stores for each input in index.py and then using callbacks to update the dcc.stores w/in app1.py and app2.py. However, only the data on the same page is saved. For example, if I’m in app2, only the app2 data will be saved and not the app1 data- the dash.callback.context message will say that the dcc.stores for app1 have nothing in them.
I also tried the hidden-div method, however, my URL routing stopped working