ScriptManager ExecuteScript Method (String, IDictionary String, Object ) TIBCO Spotfire 7.0 API Reference
Executes the specified script.

Namespace: Spotfire.Dxp.Application.Scripting
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 18.10.8513.5432 (18.10.8513.5432)
Syntax

public void ExecuteScript(
	string scriptCode,
	IDictionary<string, Object> scriptArguments
)

Parameters

scriptCode
Type: System String
The IronPython 2.0.2 script to execute.
scriptArguments
Type: System.Collections.Generic IDictionary String, Object 
A mapping of script variable names to values.
Exceptions

ExceptionCondition
System NotSupportedExceptionif script support is not available in the current distribution.
Remarks

The script is executed in a transaction. Any exeptions thrown by the script are propagated to the caller of this method.
Version Information

Supported in: 7.0, 6.5, 6.0, 5.5, 5.0
See Also