Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

oz_moyal
New Contributor II

Adding variables to bookmarks

Hi,
So my scenario is this, i have a mashup, in the mashup there two extension, in one extension user make selection, and can make bookmarks, and in the other extension user selects which columns to show in table

My aim is that the bookmarks will also save the columns that the user has selected.

is there recommended way to make that ?
is it possible to save this column selection to kind of "variables" so it will make the bookmark save it as well ?

Also are bookmarks saved per user ? i need that each qlik user will see only his bookmarks

Thanks!!

2 Replies
erik_wetterberg
Honored Contributor

Re: Adding variables to bookmarks

Hi,

If your column selections is stored in a variable you could possibly use the qIncludeInBookmark property in the variable.

The is actually an example in the documentation where this is done:

https://help.qlik.com/en-US/sense-developer/April2018/Subsystems/EngineAPI/Content/WorkingWithAppsAn...

I have used this once in a QlikView extension and it worked very well, but I have never tried it in Qlik Sense. I don't think the property is exposed in the client, so you need to implement it yourself. If you do, please share your experiences, this might be interesting for others too.

Erik Wetterberg

Erik Wetterberg
https://extendingqlik.upper88.com/
oz_moyal
New Contributor II

Re: Adding variables to bookmarks

Hi Erik,

thanks for your help,

so far I created a variable in the app that will be used to store the state.

and i can change its value from the extension.

Where i need some help now, is how do access the GetProperties,SetProperties methods from the extension ?.

as they available only in the engine API   (or backendApi ?)
I tried to google it and i see many questions but did not find very clear answer,

I will be happy to post my solution once i get it working

thanks!

Community Browser