How to get the filters of a page in TIBCO Spotfire® Using IronPython

I have a page with a lot of filters and in stead of having the user reset them manually, I want to make a button to reset them.

Using IronPython in TIBCO Spotfire®, I want to get the filters that are present inside the current page in order to reset them (and only the filters in that page).


I can already reset a certain filter, but I need to specify either the filtering scheme or the table manually.

I was able to find a connection between the current page and it's filtering scheme, but I haven't been able to isolate the specific filters used (or rows filtered) by the page.

To get the filtering scheme used by the current page: Document.ActivePageReference.FilterPanel.FilteringSchemeReference.

(1) Answer