Spotfire® Server and Environment - Installation and Administration

Finding scripts in analyses in the library

The find-analysis-script CLI command can be used to find all analyses containing scripts, data functions and custom queries and to list the content of all the scripts/functions/queries. This can be useful, for example, for trusting many scripts simultaneously or if an issue is discovered that must be found and fixed in all scripts.

Before you begin

You must have administrative credentials for Spotfire Server. If Spotfire Server is set up to authenticate with the Spotfire database using Windows Integrated Authentication, you must run commands as the same user that Spotfire Server authenticates as. Otherwise, the commands cannot authenticate with the database.

Procedure

  1. Open a command line as an administrator (or, if you are using Windows Integrated Authentication, as the Spotfire Server database user) and go to the <server installation dir>/tomcat/spotfire-bin directory.
  2. On the command line, enter the find-analysis-script command, specifying the options needed for your purpose.
    Example:
    config find-analysis-scripts
    For more information, see find-analysis-scripts.

Results

The progress of the command is displayed on the command line. When you are done, you can review the report or use one of the provided scripts for trusting or untrusting as specified in Interpreting the find-analysis-scripts results.