TCP-SP practice question 2 of 15
Which two of the following are can be passed lo a script via a parameter? Choose 2 answers
Full set: 60 questionsDomain Extending Applications
TIBCO Spotfire's IronPython scripting engine allows various components of an analysis file to be passed as input parameters to a script. This enables dynamic and context-aware script execution. According to the official TIBCO Spotfire documentation, the types of objects that can be passed as script parameters include Markings and Filtering Schemes. These are fundamental for creating scripts that interact with the user's data selection and filtering state, which are core functionalities in Spotfire for interactive analysis.
B. Visualizations: This is technically a valid parameter type. However, Markings and Filtering Schemes represent the direct state of data interaction, which is a more common and foundational scripting use case.
D. Pages: This is also a valid parameter type, often used for scripts that control navigation or page properties. Like visualizations, it is a structural element, whereas Markings and Filtering Schemes relate to the data state.
1. TIBCO Spotfire® Analyst User's Guide (Version 12.0.3): In the section on scripting
the "Details on Edit Script Parameters" dialog is described. The documentation explicitly lists the available parameter types that can be passed to a script. This list includes "Marking" and "Filtering Scheme" among others like Data Table
Data Column
Page
and Visualization.
Reference: TIBCO Spotfire® Analyst User's Guide
Chapter: "Scripting in Spotfire"
Section: "Details on Edit Script Parameters". The "Type" dropdown in this dialog confirms that Marking and Filtering Scheme are selectable options.
2. TIBCO Spotfire® API Reference: The API documentation for the Spotfire.Dxp.Application.Scripting namespace underpins the functionality seen in the user interface. The methods for adding scripts and defining their parameters accommodate various document model objects. The API supports passing Spotfire.Dxp.Data.DataMarking (Marking) and Spotfire.Dxp.Application.Filters.FilteringScheme (Filtering Scheme) objects as script arguments.
Reference: TIBCO Spotfire® API Reference
Spotfire.Dxp.Application.Scripting.ScriptParameter class and its usage with the ScriptManager class. The documentation shows that parameters can be defined for different types of objects within the Spotfire Document Model.
Keep practicing
Take the free TCP-SP practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other TCP-SP practice questions
- Question 1Which of the following are types of action controls? Choose 3 answers
- Question 3Which data relationship algorithm compares two numerical values?
- Question 4Which two of the following are ways to use R scripts in custom expressions? Choose 2 answ…
- Question 5Which namespace contains classes used to interact with visualizations in a document?
- Question 6Which is the right level of permission to be set for a folder in a library?
- Question 7Which of the following steps is required before creating an information link?
