Jump to content

Creating bookmarks programmatically using Ironpython script

Prateek Rawat

Recommended Posts

Hi All,

In my dashboard there are 2 tabs, the 2nd tab is drill down or detail report which populated based on the marking and filters applied in the first tab.

Requirement is when user applies filters in the 1st tab and marks few records, the values populating in the System Id column of the details tab i.e the 2nd tab should get stored in a bookmark.

Note: Only System Id column values should be stored in the bookmarks

Is it possible to achieve using Ironpython script



Link to comment
Share on other sites

Link to comment
Share on other sites

Thanks Sayali,I am using below script to capture the marked records in the bookmarks.

 from Spotfire.Dxp.Application.AnalyticItems import BookmarkManager

from Spotfire.Dxp.Application import BookmarkComponentFlags  #Get the Bookmark Manager as a service

bookmarkManager = Application.GetService(BookmarkManager)#Create a new Bookmark:

bookmarkManager.AddNew("Bookmark", BookmarkComponentFlags.MarkedRecords)Is it possible to capture FilterSettings along with the marked recordsRegards,


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...