I have a problem with variables when app get reloaded.
Let me use a simple example to understand the stuff:
- Suppose that i have a document with a variable vTest.
- I publish the document on the server with the variable vTest configured with default value 1
- A user modifies the contents of the variable [vTest] to 5. If, during user's analysis, the document is reloaded on the server (data is updated), the content of the variable is automatically set to the default value 1.
I don't wanna this behaviour, i need to keep the user defined value 5 even after the reload
Does anyone have had that problem before and how to keep variables values ?
Thank you for the help
it's really a very good idea but in my case the application is used by several users and the value of the variable varies according to each one of them.
In the script its hard to update variable value according to each users or there is a method to do that ?
Just mark this variable for inclusion in bookmarks and it will survive reloads. (Settings > Document properties > Variables > Settings for Selected Variable > Include in Bookmarks).
Any response meanwhile how it works in Sense? I would like to use a user defined variable during a user-triggered partial reload, but it seems during the reload, a variable that is defined in the frontend does not exist.