Qlik Community

Ask a Question

Qlik Sense Integration, Extensions, & APIs

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

Announcements
Do More with Qlik - for Beginners and Beyond, Topic: Qlik Replicate on January 21, 2PM EST. REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
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
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
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

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

 

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!