I have a Taipy application with several pages. Each page uses the "run()" method to scope the methods executed. Now, I want that one dynamically assigned State variable state.some_id = "1234abcd"
is available in other pages too (to avoid that I have to re-implement the assignment again). If a state variable cannot be made available across pages, a common dynamically assigned variable some_id = "1234abcd"
would also work. However, I could get it working.
I already tried experimenting with plain variables (not State variables) in main.py. These variables are available among all pages after the initial assignment, but it seems I cannot reassign them dynamically (e.g. via a on_change method).
The State variables, such as state.some_id = "1234abcd"
, is not available in other pages - only in the page where I assign it via a control element.