IronPython Scripting in TIBCO Spotfire®
Last updated:
1:50am Mar 28, 2017

Back to Extending Spotfire page

Overview

With IronPython scripts it is possible to configure and automate a lot of different aspects of a TIBCO Spotfire® analysis and add behaviors to it without creating and deploying extensions. IronPython scripts can access the capabilities available in the Spotfire Analyst API.  

IronPython scripts can be added to several places in a Spotfire analysis. Scripts can be exctuted from action controls in the Text Area, from the Graphical Table or the KPI Chart or be triggered by Document Property changes.

To create an analyses containing IronPython scripts, the analyst needs the Author Scripts license function. Scripts in analysis files that are shared via the library by licensed script authors are considered as trusted. For security reasons you should always examine and approve a script that is not listed as trusted before executing it.

The Spotfire add-in mechanism for C# extensions, which enables developers to extend the Spotfire feature set, is designed for the developers with access to a full-fledged development environment. Scripting does not replace this framework. It rather supplements the heavy-lifting programming with a light-weight option to configure Spotfire and extend its behaviors, a convenient and powerful means to solve simple as well as complex tasks. Many of the script examples below are applicable also when creating custom tools and other extensions as embedded IronPython scripts or converted to C#.

Tutorials

Other uses of Python (not IronPython) with Spotfire:

Examples

Data

Visualizations

Filtering and Marking

User Interface

Maps

Miscellaneous

 

Disclaimer:

The script code in these articles 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 per your implementation specifications that suit best your business requirements. Refer to the API reference for usage of the classes and methods used in the scripts.  All scripts on this page are covered by this license

Attachments

AttachmentSize
PDF icon tibco_community_script_license_2017.pdf124.62 KB