Product: TIBCO Spotfire®
How to toggle (On/Off) filter panel using an IronPython Script.
Ability to toggle (On/Off) filter panel in a page using an IronPython Script.
The example script shown below toggles the state of the (Show/Hide) filter panel.
########################################
if (Document.ActivePageReference.FilterPanel.Visible == False):
Document.ActivePageReference.FilterPanel.Visible = True
else:
Document.ActivePageReference.FilterPanel.Visible = False
#########################################
Disclaimer:
The script code in this article is only a sample to be used as a reference. It is not intended to be used "As Is" in a Production environment. Always test in a Development environment. Make modifications to the script in accordance with your implementation specifications that best suit your business requirements. Refer to the API reference(s) cited in this article for usage of the classes and methods used in the script.
https://docs.tibco.com/pub/doc_remote/spotfire/7.0.0/doc/api/?topic=html/P_Spotfire_Dxp_Application_Panel_Visible.htm
hide, show, filter panel, toggle, filters, Show/Hide, python, IronPython, script
Comments
0 comments
Article is closed for comments.