Jump to content

Spread / copy selected options from one Filter Scheme to others


Henry Heberle

Recommended Posts

I have 4 pages and 4 Filter Schemes, one for each page.

I would like to give the user the option to apply the same filters to all pages, but only when they want to do so. Normally, they will use different filters, but occasionally, they would want to use the same filter on all pages.

I thought about creating a button: [apply same filters to all pages]

Or, [apply same filters to selected pages] (from a checkbox showing the 4 pages' names)

Any tips for IronPython or native options to solve this?

Link to comment
Share on other sites

Hello,

The article "How to list the modified filters for the current page in TIBCO Spotfire® Using IronPython Scripting" (https://community.spotfire.com/s/article/How-to-list-the-modified-filters-for-the-current-page-in-TIBCO-Spotfire-Using-IronPython-Scripting) could be a good starting point for you in doing this, as it illustrates working with filtering schemes, finding modified filters, and accessing filter values. 

Something to consider may be if the filter types could be different in the different filtering schemes. It would likely be easier if you don't allow that/set the filter type to be the same as the type in the page you are copying from.   

Note that you can find a lot of filtering-related examples in the "Filtering and Marking" section in

https://community.spotfire.com/s/article/IronPython-Scripting-in-TIBCO-Spotfire

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