Variable Value Dissappear When Using Source Control Or PRJ folder
Article Number: 000005546 | Last Modified: 2018/06/12
When restoring a QlikView application from a PRJ folder, values in variables will not be restored. Only the variable name is available after restoring the application.
The same issue occurs when using Source Control, since in this scenario only the content of the PRJ folder is stored in the Source Control system.
Variable values are considered as data and therefore not saved in the PRJ folder.
To resolve this issue, variables can be defined in the script and not only in the variable overview.
This way the variables and their values will be stored in the script file in the PRJ folder, and can be restored by reloading the application.
An other option is to recover the variable values by exporting them to a QVD file, as described in the below linked article;
FAQ: How to recover variables values from PRJ folder