Skip to main content

Suggest an Idea

Announcements
This page is no longer in use. To suggest an idea, please visit Browse and Suggest.

Select whether a variable should be saved in a bookmark or not

PedroC
Contributor III
Contributor III

Select whether a variable should be saved in a bookmark or not

Variables are often used at design time to store expressions other than individual values. This is very useful to ensure readability of set analysis on master items, creating a layer that abstracts business logic.

 

In recent updates of Qlik Sense, user can store state of variables in bookmarks. This has led to a collateral problem when variables with expressions that shall be considered as code, are stored in the bookmark and restored once it's applyed.

 

If developer creates a variables at design time, publishes the app, the user creates a bookmark including state of variables and the developer modifies the variable due to changes on business logic, when the user applies the bookmark the deprecated version of the variable is retrived leading to unexpected behabiors.

 

Although it's not documented, it seems that setting a variable in script will avoid this variable to be saved in bookmark. This could be a workaround but it could be a far better solution if developers could set in the variable editor if a single variable should be stored or not in the boormark.

 

Thanks in advance