ScriptManagerExecuteScript Method (String, ScriptLanguage, IDictionaryString, Object)

Spotfire 14.3 API Reference
Executes the specified script.

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

C#
public void ExecuteScript(
	string scriptCode,
	ScriptLanguage scriptLanguage,
	IDictionary<string, Object> scriptArguments
)

Parameters

scriptCode
Type: SystemString
The IronPython script to execute.
scriptLanguage
Type: Spotfire.Dxp.Application.ScriptingScriptLanguage
The script language. Use one of the IronPython constants defined in ScriptLanguage.
scriptArguments
Type: System.Collections.GenericIDictionaryString, Object
A mapping of script variable names to values, or null. Pass null to execute the script with an empty scope.
Exceptions

ExceptionCondition
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: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference