Desktop User Guides > Professional > Interview scripting > Activating interview scripts > Activating projects from the command line > The Activate document
 
The Activate document
Activation from the command line uses an Activate Document that specifies how the project is to be activated. It contains the same information as you would normally enter using the Activate dialog in UNICOM Intelligence Professional, but in XML format. This means that if you have a number of projects with identical or similar activation requirements, you can create the Activate Documents by copying and editing an existing file.
The easiest way to create an Activate Document is to fill in your requirements on the Activate dialog and then save the specification to a file, optionally without activating the project at all.
If you have pre-version 2.3 activation .ini files, you can convert them into Activate Documents by running the ActivateIniToXml tool; see Converting activation .ini files to .xml format.
If you create a new Activate Document by copying and editing an existing one, you must check the settings that specify whether activation is over the local network or across the internet. These settings are as follows:
<?xml version="1.0"?>
<Activate usewebservice="False" webserviceurl="">
  <ActivateSettings>
    <Sites>
      <Site dpmservername="MyDPMServer" username="" userticket="">
        ...
      </Site>
    </Site>
  </ActivateSettings>
</Activate>
This example is set up for activation over a local network. To activate across the internet, change usewebservice to True and webserviceurl to the URL for UNICOM Intelligence Interviewer - Server Admin on the destination server.
If dpmservername is not defined, it defaults to the DPM server set on the computer running the accessories service.
See also
Activating projects from the command line