Spotfire® Server and Environment - Installation and Administration

Importing library content by using the command line

Instead of using the Library Administration tool in Spotfire Analyst, you can import content to the library by using the command line.

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.

About this task

For general information about library administration, see the Spotfire Analyst User Guide.

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 import-library-content command, specifying the options needed to import the .zip file.
    Example:
    config import-library-content --tool-password=password --file-path=/path/to/folder/content.part0.zip --conflict-resolutionmode=KEEP_BOTH --user=jdoe --library-path=/
    For more information, see import-library-content.

Results

The progress of the import is displayed on the command line.