Spotfire launch behavior can be configured using command line parameters.
Command Line Parameter Reference
The following command line parameters are available for Spotfire:
| Parameter | Description |
/server:<url> | Defines the server to log into when starting Spotfire.
Example: http://myserver:1234 |
/area:<test|production> | Defines the deployment area on the server to use. Used in conjunction with the /server
There are two valid values: test and production.
Available from Spotfire 2.1. |
/username:<username> | Username when logging in. It is not necessary when logging into a server with integrated authentication. Must be provided when the /password parameter is provided. |
/password:<password> | Password to use when logging in. It is not necessary when logging into a server with integrated authentication. Must be provided when the /username parameter is provided. |
/offline | Starts Spotfire in offline mode. |
/noupdates | Disables the check for updates. |
/loadAllModules | Load all available modules, not just those specified by the server. |
/forceShowLoginDialog | Forces the login dialog to be displayed. |
/uri:<uri> | Opens an information link or an analysis from the Spotfire Library.
Available from Spotfire 3.0.
<uri> :: <type>: <id> | <path>
<type> :: analysis | informationlink
<id> :: the library item id
<path> :: /path/to/library item
Examples
Spotfire.Dxp.exe "/uri:analysis:e7d4dfcf-07af-42d3-adee-8df670c353f9"
Spotfire.Dxp.exe "/uri:informationlink:/path/to/link"
From Spotfire 3.3 it is also possible to apply bookmarks or configuration blocks as well as performing library searches. See TIBCO Spotfire URI Scheme for more details. |
Example
"C:\Program Files\Tibco\Spotfire\2.1\Spotfire.Dxp.exe" /server:"http://myserver:8080/" /username:me /password:mypassword /file:"c:\my analysis.dxp"
The command line parameters are unordered and not case sensitive.
Command Line Arguments in the Application Configuration File
The command line arguments may be specified in the <arguments> section of the Spotfire.Dxp.exe.config file. Each argument is specified as an <argument> element with the required name and optional value attributes:
<arguments>
<argument name="server" value="http://myserver/" />
</arguments>
The arguments specified in the Spotfire.Dxp.exe.config file are appended to the command line arguments. Duplicates will result in errors.