Jump to content
  • How to Apply the Filter Organization From the Active Filter Panel to All Pages in the Analysis in Spotfire® Using IronPython Scripting


    This article provides the script to apply the filter organization from the active filter panel to all pages in the analysis.

    Introduction

    The following script will apply the filter organization from the active filter panel to all pages in the analysis.

    Code Sample

     # Copyright © 2017. TIBCO Software Inc. Licensed under TIBCO BSD-style license.
     
     # Find the active filter panel
     activeFP = Application.Document.ActivePageReference.FilterPanel
     
     # Loop thru all the pages and apply filter organization from active filter panel
     for page in Application.Document.Pages:
         if page.FilterPanel != activeFP:
             page.FilterPanel.ApplyOrganizationFrom(activeFP) 
     

    References

    License:  TIBCO BSD-Style License

     

     


    User Feedback

    Recommended Comments

    There are no comments to display.


×
×
  • Create New...