Jump to content

How to apply drill through feature or onclick to another page.


burhan ahmed

Recommended Posts

Hello,

 

Please try this code to change the Active page reference and apply the required filtering scheme on

that page.

 

from Spotfire.Dxp.Application.Filters import *

 

mypage=None

for page in Document.Pages:

if page.Title == "page2":

mypage=page

Document.ActivePageReference = page

 

 

panels=mypage.Panels

(found, filterPanel) = panels.TryGetPanel [FilterPanel]()

for filteringScheme in Document.FilteringSchemes:

filteringSelection = filteringScheme.FilteringSelectionReference

if filteringSelection.Name == "MyFilteringScheme":

filterPanel.FilteringSchemeReference = filteringScheme

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