Customer Banners (Ads) - SpiceUp. AX and SpotfireX Disclaimer



If you find this site useful and you want to support, buy me a coffee   to keep this site alive and without ads.

Reset Filter Schemes

#Reset filters across all filter schemes
from Spotfire.Dxp.Application.Filters import filteringScheme, 
FilteringSchemeCollection

 for scheme in Document.FilteringSchemes:
  scheme.ResetAllFilters()

2 comments:

Nis said...

How would reset the filters of a specific filter scheme instead resetting all filters across all filter schemes?

Jose Leviaguirre said...

Nis,

Please refer to this post for more tricks on how to handle filter shcemes.