TCP-SP practice question 13 of 15

Which language are action control scripts written in?

Full set: 60 questions

Domain Application Debugging

Answer options
A: C++
B: C#
C: IronPython Correct answer
D: HTML
Correct Answer:
C. IronPython
Explanation

TIBCO Spotfire uses IronPython as its embedded scripting language. Action controls, which are interactive elements like buttons or links placed within a text area, are designed to trigger these scripts. This allows users to execute custom logic, manipulate the analysis file, modify visualizations, or trigger data functions directly from the user interface. The entire scripting framework available to end-users and analysts within the Spotfire client is based on IronPython, which provides access to the Spotfire API.

Why Incorrect

A. C++: C++ is a compiled language and is not used for user-facing scripting within the TIBCO Spotfire client for action controls.
B. C#: While the Spotfire platform is built on the .NET framework, the scripting language exposed to users for automation is IronPython, not C#.
D. HTML: HTML is a markup language used to structure the content within a text area, including the action control element itself, but it is not the language used to write the script that the control executes. ---

References

1. TIBCO Spotfire® Analyst User's Guide, Version 12.0 LTS. In the section "Scripting in TIBCO Spotfire®", the documentation states, "TIBCO Spotfire® provides access to a powerful scripting language, IronPython, from within the Spotfire environment." It further clarifies under "How to Use Scripts" that "Scripts are written in the IronPython programming language... You can connect scripts to action controls in a text area...".

2. TIBCO Spotfire® Documentation, "Details on Action Control". This official documentation page specifies, "An action control is a button or a link in a text area which can be used to trigger a script." The context of all scripting within this documentation is exclusively IronPython.

Scroll to Top