Software AG Products 10.11 | Using CentraSite | Asset Management | Managing Assets through Command Line Interface | Importing an Asset | Importing XPDL File
 
Importing XPDL File
Pre-requisites:
To import an XPDL File through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a command tool named ImportXPDL for this purpose.
*To import an XPDL File
*Run the command ImportXPDL.
The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>ImportXPDL -file <filename> [-h <host>] [-p <port>] -user <user> -password <pwd>
The input parameters are:
The input parameters and options are:
Parameter
Description
-h <host>
The host name or IP address of the computer where the CentraSite registry or repository component is running.
If you omit this parameter, the importer assumes that the registry or repository is running on localhost.
-p <port>
The port number on which the CentraSite registry or repository is configured to listen for incoming requests.
If you omit this parameter, the importer assumes that the registry or repository is listening on the default port, 53307.
-dburl <dburl>
(Optional). The URL of the CentraSite registry. For example, http://localhost:53307/CentraSite/CentraSite.
Note:
If the registry or repository is running on a different machine and port number, you can use this parameter to specify its location instead of using the individual -h and -p parameters. (If you specify the -dburl parameter with the -h and -p parameters, the -h and -p parameters is ignored.)
-user <user>
The user ID of a registered CentraSite user who has the CentraSite Administrator role. For example, Administrator.
-password <pwd>
The password for the registered CentraSite user identified by the parameter -user.
-file <filename>
The absolute or relative path to the XPDL file that you want to import. If relative, the path should be relative to the location from where the command is executed.
Example (all in one line):
The command for importing a XPDL process file into CentraSite running on host myhost and default port 53307 with an administrator account INTERNAL\Admin and password AdminPW would be:
C:\SoftwareAG\CentraSite\utilities>ImportXPDL -dburl http://localhost:53307/CentraSite/CentraSite -user INTERNAL\Admin -password AdminPW -h myhost -file c:/tmp/MyProc.xpdl