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

Dynamic name to a Table based on Bookmark selection


Hai all,

problem: I want to give dynamic name to a table based on the bookmark selection

ex: Bookmark names are : 1234, 5678

      If i select 1234, my report name should become 1234 dynamically . like wise 5678.

I have used getcurrentfield() and getcurrentselections() functions. But my aim is to change the table name based on bookmark selection.

How i can achieve this?

Thanks in avance..

1 Reply
Anonymous
Not applicable
Author

Hi!

in this discussion

http://community.qlik.com/message/73586#73586

you can find an attachment of a qvw with a macro that can export all information of a bookmark in a txt.

Reloading this txt you can import Name and Id of each bookmark.

I created an application (see attachment) using this macro.

I created a variable, "book", and set some Triggers, OnSelect for field Name, and OnChange for the variable.

I modified the script of the original qvw from discussion mentioned above for field Id.

Users can select the bookmark thanks to a listbox (not from the standard object for bookmarks).

Button Export Bookmark is necessary just when you create another bookmark.

I know it's a quite complicated solution... Hope it helps you

Bye,

Elena