Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Bookmarks

Not sure if any one can help with this I want to create a button that will update a bookmark but I need to call the current bookmark id to do this is there a bit of code I can add to an expression to get the current bookmarkID or am I trying to do something impossible.

7 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You can create a variable to store the bookmark id. In the Document Properties on the Variables you can enable the option Include in Bookmarks for that variable. For each bookmark you create manually set the value of that variable to the id of the bookmark and then create (or replace) that bookmark. When you apply the bookmark the value of the variable will be restored to the id value you entered in that variable for that bookmark.


talk is cheap, supply exceeds demand
Not applicable
Author

I think I have not explained correctly. I have created a dashboard for my client and they will be bookmarking throughout all 15+ tabs so the can return to that point in the month. The problem comes when they get to next month I want them to be able to un-tick last month and tick current month then click a button that would amend there current bookmark leaving all there other selections in there, rather them deleting and starting again. I have looked at the button actions there is a Replace Bookmark but this want's a Bookmark ID and if I can get this to be populated if there is one. I think a variable would be better, so all I am after is how do I give a variable the Bookmark ID.

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Why can't aren't they able to un-tick last month and tick the current month? Bookmarks don't prevent selections afaik. And why can't they use the standard Back and Forward buttons to move through the selections they've made?


talk is cheap, supply exceeds demand
Not applicable
Author

They can have up to 30 - 40 other selection's for there daily reports and if they need to make any other amendments the  Replace Bookmark function will be perfect. So all I need is a way to call the current Bookmark ID from the Bookmark list.

jonathandienst
Partner - Champion III
Partner - Champion III

Two comments:

  • selections apply to all tabs, so combine all the selections that need to be made in one place, so users do not have to go to multiple tabs to make selections. The document should be designed to be easy to use.
  • bookmarks can also record a dynamic selection using an expression (such as =Max(Year) to always select the maximum year value. But if your sheet objects could respond automatically to monthly or yearly selection changes without explicit user selection, then you would not need bookmarks to this. If these objects are designed properly, user selections would allow manual overriding; and if no selections are made, the sheet objects can default to the current month dynamically.

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

Johnathan

The bookmarks respond to the selected sheet and not multiple sheets. As my client is an NHS trust the user interaction needs to be as simple and as quick as possible so they spend more time doing there job and less time doing mine.

As I don't know all the trust staff that will use it I can not preempt there choices.

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

The bookmarks respond to the selected sheet and not multiple sheets.

That is incorrect. A qlikview document has only one selections state and that is active throughout the document.

As I don't know all the trust staff that will use it I can not preempt there choices.

Exactly. So, don't do anything. It sounds to me like you're first creating a problem that does not actually exist and then want to create a solution to solve that problem. Let the users make the selections and create their bookmarks.


talk is cheap, supply exceeds demand