Hi. If I have a dashboard with a number of selectors, it it possible to save the state of those selectors in some form of url so that that url can be sent to some other user and he would open a dashboard with the selectors set to the same state?
Perhaps you could implement some type of hash system that updates based on UI interactions and then make callbacks that use dcc.location. I’ve never done this before, but it was the first thought that came to mind.
That looks actually very promising, thanks
I had the same issue, and built this: https://github.com/oegedijk/dash_querystrings
Allows you to save the current state of the dashboard to the querystring, and reload the state as well. This really increased the amount that the dashboard got used within the company.
Let me know if you have any questions!
To add on to other answers you can look up the URL query string at layout time, not just callback time. I give some example code here: Example: Creating Multi-Page and Custom-Page apps at layout time
This would allow you to build something that immediately loads the correct state without having to wait for callbacks to load.