Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Button to apply bookmark

This may be a simple thing that I am missing.

I am trying to create a button that will apply a document bookmark that is already created, but I will need to clear all other fields prior to applying this action.

Any suggestions?

3 Replies
prieper
Master II
Master II

Please check the API-Guide, there you will find various possibilites to clear selections, like e.g.

ActiveDocument.ClearAll false


Another way might be to untick application over all selection in the bookmarks-option

HTH
Peter

Not applicable
Author

Isn't there a setting on the bookmark you can use. The setting let you choose if you want apply the bookmark on top of the current selection or reset the state as it was when the bookmark was created.
I.e. no need for the clear part.

If you upgrade to QV 9 you can have multiple actions on a single button...

BR
Hans

Not applicable
Author

Hi Hans,

I have a similar situation but here I will have to create a Docbookmark using a Macro. But that DocBookmark created using a macro should be applied on top of the Current selection. Is there a way to set this property while creating a bookmark using a Macro?

Thanks,

Mahi