Luiz Eduardo Zappa Posted April 4, 2020 Share Posted April 4, 2020 Hi, I've found a script that change the page filter scheme based on the selection of a dropdown list (i pasted the code below). The problem is that i have a List Box Filter in text area, and these filter scheme does not change, and i need to change this too.. I've searched the web, but didn't find any example of changing filter scheme of a filter in text area (see attached image, this is the filter i'm refering). And ideia how can i achieve this Script to change the page filter scheme from Spotfire.Dxp.Application.Filters import FilterPanel panels = Document.ActivePageReference.Panels (found, filterPanel) = panels.TryGetPanel[FilterPanel]() for filteringScheme in Document.FilteringSchemes: filteringSelection = filteringScheme.FilteringSelectionReference if filteringSelection.Name == (MyFilterScheme): filterPanel.FilteringSchemeReference = filteringScheme Link to comment Share on other sites More sharing options...
Shandilya Peddi Posted April 6, 2020 Share Posted April 6, 2020 Currently there are no APIs available to change/modify the filtering scheme of a filter added to the text area. You will have to do it manually Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now