Qlik Community

Qlik Sense Integration, Extensions, & APIs

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

Announcements
BI & Data Trends 2021. Discover the top 10 trends emerging in today. Join us on Dec. 8th REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Partner
Partner

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:mark_costa_0-1598992424072.png

Any help you this will be very appreciated.

 

Thank you,

Mark Costa

Labels (3)
1 Solution

Accepted Solutions
Highlighted
Employee
Employee

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...):

https://help.qlik.com/en-US/sense-developer/June2020/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App...

The signature of the method looks like this:

public string GetSetAnalysis([QixName("qStateName")] string stateName = null, [QixName("qBookmarkId")] string bookmarkId = null)

 

View solution in original post

3 Replies
Highlighted
Employee
Employee

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...):

https://help.qlik.com/en-US/sense-developer/June2020/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App...

The signature of the method looks like this:

public string GetSetAnalysis([QixName("qStateName")] string stateName = null, [QixName("qBookmarkId")] string bookmarkId = null)

 

View solution in original post

Highlighted
Partner
Partner

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:

mark_costa_0-1599078045685.png

 

Highlighted
Employee
Employee

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!