Usage of Scripts


Various scripts like IronPython scripts, JavaScripts, or scripts written in custom query languages to be executed in external databases can be part of an analysis. If, or under which circumstances, scripts are allowed to be used depend on whether the user is working in an on premise or cloud environment, and in which product, Spotfire Business Author or Spotfire Analyst.

Also, users can be of different types depending on their authorities controlled by which groups they belong to, and the licenses specified for those groups. Licenses and groups settings are made in Tools > Administration Manager.

The tables below list what is allowed to do for different combinations of user types and Spotfire products.

On premise users

Type of user

Analyst

Business Author

Create script

Run script

Save script as trusted in library

Create/Run script

No Author Scripts license

No

Yes, if the script is saved as trusted to the library by an authorized* script author.**

No

Scripts cannot be created.

You can only run scripts that are saved as trusted by an authorized script author.

Author Scripts license

Yes

Yes, if the script is trusted by you, or saved as trusted to the library by an authorized* script author.

No

Author Scripts license + member of the Script Author group

Yes

Yes, if the script is trusted by you, or saved as trusted to the library by an authorized* script author.

Yes

*A script author is authorized, if he is a member of the Script Author group.

**If you previously had a license, the scripts that you created by that time can still be run.

Cloud users

 

Analyst

Business Author

All users

Create scripts

Run script

Create/Run script

Yes

Yes, if the script is trusted by you.

For security reasons, scripts cannot be used.

 

See also:

Using Scripts in the Text Area

IronPython Example Scripts

JavaScript Example Scripts

Action Script Examples