Command Line Parameter Reference
The following command line parameters are available for Spotfire Analyst:
| Parameter | Description |
| /? /help |
Show help on command line options. |
| /usage | Shows the usage of the application from the command prompt. |
| /server:<server> | Defines the server to log into when starting Spotfire. Example: https://example.com:8080 |
| /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. [Deprecated since Spotfire 14.5.0.] |
| /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. [Deprecated since Spotfire 14.5.0.] |
| /offline | Starts Spotfire in offline mode. |
| /forceShowLoginDialog | Forces the login dialog to be displayed. |
| /enablePerformanceCounters | If true enable collection of performance counters. |
| /modules:[<modules> ... | For internal purposes only. |
| /area:<area> | The name of the area on the server to log into. |
| /file:<file> | The analysis file to load in the application. |
| /qualificationexport:<qualificationexportpath> | Run the qualification export |
| /applicationprofiler:<applicationprofilerconfigpath> | Run the Application Profiler |
| /noupdates | Disables the check for updates. |
| /serverless | Runs the application in a server-less state, i.e., it never connects to a Spotfire Server. The argument '/serverless' is not allowed within a bootstrap configuration. |
| /acceptupdates | Silently accepts updates from the server. |
| /loadAllModules | Load all available modules, not just those specified by the server. |
| /uri:<uri> | |
| /culture:<culture> | The language and culture to start the application in. For example, en-US. |
| /debug | Enables debug logging. |
Example
"Spotfire.Dxp.exe" /server:"https://example.com:8080/" /file:"c:\my analysis.dxp"The command line parameters are unordered and not case sensitive.
Note: the output from the /?, /help or /usage parameters needs to redirected to a file, e.g.: Spotfire.Dxp.exe /help > a.txt
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:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
...
<Spotfire.Dxp>
...
<arguments>
<argument name="server" value="http://myserver/" />
<argument name="noupdates"/>
</arguments>
</Spotfire.Dxp>
...
</configuration>
Note: the arguments specified in the Spotfire.Dxp.exe.config file are appended to the command line arguments. Duplicates will result in errors.
Comments
0 comments
Article is closed for comments.