Interviewer - Server > UNICOM Intelligence Interviewer activities in UNICOM Intelligence Interviewer Server - Admin > Desktop tools > Activating projects from the command line > Activating projects
 
Activating projects
You activate projects from the command line by running the Activate program in either console or dialog box mode. In both cases you musts run the command from:
C:\Program Files\Common Files\IBM\SPSS\DataCollection\<version>\ Interviewer Server
In console mode
In console mode, activation is based solely on the contents of the Activate Document named on the command line, and is ideal for activating remotely or on an unattended computer.
Syntax
activate -a "actdoc" [-u username] [-t ticketname] [-r] [-c]
   [-l] [-?]
Optional parameters
–a "actdoc"
Names the Activate Document.
–u username
The user name to use for activating the document. If none is specified, the activation process will use the name specified in the Activate document. (It is recommended that names are not stored in Activate documents.) If there is no name or user ticket specified in the Activate document, the activation process attempts to log in as a trusted Windows user.
–t ticket
The user ticket to use for activating the document. (It is recommended that tickets are not stored in Activate documents.) This option is valid for command-line activation only.
–r
Display a progress box.
–c
Write information to the screen.
–l
Display a login dialog box.
–?
Display help.
In dialog box mode
In dialog box mode, Activate displays a dialog box in which you specify the activation parameters (this is the mode in which Activate runs in UNICOM Intelligence Professional). You can include options on the command line that pre-populate the dialog box with certain types of information, such as the project name or interview script type. When you have completed the dialog box, click Activate to start activation. This mode is ideal for creating new Activate Documents.
Syntax
activate -g [-p proj_ID] [-s script_type] [-f "foldername"]
   [-d DPMservername] [-w webservice URL] [-l] [-?]
Optional parameters
–g
Displays the Activate dialog box. Use this option when you want to create an Activate document. If this option is not present, -a is required.
–p project_id
The project ID.
–s script_type
Interview script type. Must be set to UNICOM Intelligence.
–f " foldername "
Pathname of the project’s source folder.
–d DPMservername
Names the initial DPM server.
–w web-service URL
Activate via the web-service URL. For example:
http://<servername>/spssmr/
activatewebservice/
activatewebservice.asmx
–l
Display a login dialog box.
–?
Display help.
See also
Activating projects from the command line