
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Save variable state in bookmark not working
As per https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Bookmarks/create-bookmar... we should be able to save values of variables in bookmarks but unfortunately this doesn't work.
I created a simple app and added a variable input object to manipulate the value of the variable:
Next, I created a bookmark including the option 'Save variable state in bookmarks'. After manipulating the variable value and apply the bookmark I would assume that the value of the variable will change to the old value, when the bookmark was created, but the value always stays untouched.
I am not sure if I understand the function correctly or if it is a different problem. I hope someone can help me.
Regards
Jan
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello all, after several months I came back to this... and 'solved' it.
Variables that are generated in script (these ones, marked with the script icon) won't get saved as variable state in bookmarks. However, variables that are generate in the UI through the variables dialog will be saved. Unfortunately this functionality isn't documented anywhere so it's a bit misleading.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't know how Sense handles this matter but in QlikView you must also set an option within the variable-properties (within the document properties or within the input-box settings) to make the variable savable in a bookmark. Maybe this logic exists in Sense, too.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had a quick play with this in Qlik Cloud and it seems to be working as expected - after saving a bookmark with the variable checkbox toggled on, the value kept reverting to the original when I applied the bookmark. Not sure what's going on if that's not the case elsewhere.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's really strange... I double-checked it, but after setting the option to save the variable state, the information of the bookmark says 'Variable state: None' (even in a vanilla app)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello all, after several months I came back to this... and 'solved' it.
Variables that are generated in script (these ones, marked with the script icon) won't get saved as variable state in bookmarks. However, variables that are generate in the UI through the variables dialog will be saved. Unfortunately this functionality isn't documented anywhere so it's a bit misleading.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'll give it a try, though it would be great if Qlik would let us decide whether a variable should be saved or not in the bookmark.
Thanks!
