Spotfire® Server and Environment Security

Scripts in Spotfire

Spotfire supports a number of execution environments for a several programming languages: JavaScript, Python, R, TERR, or IronPython scripts, and custom queries (different database query languages). In addition, a limited subset of HTML is available in text areas of Spotfire files.

Note: The scripts and functionality described on this page use a different trust and security mechanism that scripts included in action mods. See Spotfire Visualization Mods and Action Mods for more information about mods.

This diagram demonstrates the following.

  • Local Python script execution by the installed Spotfire client.
  • Local TERR script execution by the installed Spotfire client.
  • Local execution of IronPython from the installed Spotfire client, Spotfire Web Player, or Spotfire Automation Services.
  • Remote TERR script execution on Spotfire® Statistics Services on behalf of the installed Spotfire client.
  • Remote R script execution on Spotfire® Statistics Services on behalf of the installed Spotfire client.
  • Remote TERR script execution on TERR service, on behalf of the installed Spotfire client, Spotfire Web Player, and Spotfire Automation Services.
  • Remote Python script execution on Spotfire Service for Python on behalf of the installed Spotfire client.
  • Remote R script execution on Spotfire Service for R on behalf of the installed Spotfire client.
  • JavaScript execution on the installed Spotfire client and in a web browser (file opened in Spotfire Web Player).
  • Remote R script execution on Spotfire Service for R, on behalf of the installed Spotfire client, Spotfire Web Player, and Spotfire Automation Services.
  • Remote Python script execution on Spotfire Service for Python, on behalf of the installed Spotfire client, Spotfire Web Player, and Spotfire Automation Services.

Diagram showing the workflow for scripts in Spotfire

Not pictured: Spotfire Web Player and Spotfire Automation Services execute a data function on Spotfire® Statistics Services.

Spotfire Statistics Services can support one of four types of scripts, but they are not all not described further in this document. Use TERR service and Spotfire Service for R instead of Spotfire Statistics Services to run TERR and R data functions from Spotfire Web Player and Spotfire Automation Services.

Note: The TIBCO Spotfire Statistics Services server is discontinued and will no longer be updated. You can continue to use it but no bug fixes or security patches will be provided, and it will eventually be removed. Instead, use the specific services for the data function language of interest to run data functions. See the Migration Guide for more information.