Hello,
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
I couldn't find the article outlining how to use Google Sheets for inputting Variable values and the Qlik app to load the variables from Google Drive.
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 ?
thank you,
Best regards,
Just mark this variable for inclusion in bookmarks and it will survive reloads. (Settings > Document properties > Variables > Settings for Selected Variable > Include in Bookmarks).
Thank you very much Saulius
It's exactly what i was looking for.
Hi, do you know of any way to do this in Qlik Sense?
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.
hey.
let me tell my experience.
i use this steps to create a variable
Settings -------> Variable Overview --------------> Add
regards
I would guess that you are defining in Script something like
LET vTest = 1;