
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to get Bookmark Set expression using .NET SDK
Good day everyone,
Using the .NET SDK I was able to return from an App its Bookmarks with the following properties:
- Title
- Description
- SelectionFields
- SheetID
However, I'm looking for a way to get the Set expression as illustrated in the screen shot below:
Any help you this will be very appreciated.
Thank you,
Mark Costa
Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com
Accepted Solutions


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There's a method called "GetSetAnalysis" which is called on the app. You'll find it's documentation at this page (though you'll have to scroll quite far down to get to it, so a search is a good idea...):
The signature of the method looks like this:
public string GetSetAnalysis([QixName("qStateName")] string stateName = null, [QixName("qBookmarkId")] string bookmarkId = null)


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There's a method called "GetSetAnalysis" which is called on the app. You'll find it's documentation at this page (though you'll have to scroll quite far down to get to it, so a search is a good idea...):
The signature of the method looks like this:
public string GetSetAnalysis([QixName("qStateName")] string stateName = null, [QixName("qBookmarkId")] string bookmarkId = null)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You rock again Yko. Thank you very much. It worked.
For the ones facing the same challenge, here is part of my test code to capture the Bookmark Set Analysis:
Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm glad it worked out for you! I was at first rather surprised to see that that method was an App method and not a member of the class GenericBookmark, but the reason is that you can call the method without a bookmark ID in which case you get the set analysis for the current selection. Learning something every day!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any way to set the Set expression of a bookmark?
I am trying to create a bookmark with the expression obtained from GetSetAnalysis, but I have been able yet.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is not possible I'm afraid. Bookmarks doesn't work that way. There are other threads here on the topic as well:
https://community.qlik.com/t5/QlikView-App-Dev/Edit-and-modify-bookmark-selection/td-p/1285635

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
How to create a new bookmark with the Set expression? Is that possible with the .NET SDK?
NB. I think the above thread is about setExpression to an an exiting bookmark?
