Invocation

The syntax for calling the List Objects API client program is as follows:

listobjects /project=<project name> 
            /file=<output xml file> 
            /path=<path in project> 
            /server.host=<server host name> 
            /server.port=<server port>
            /cfg=<configuration file>
            /level=<required revision level>	      
            /user=<required user for development revision>

The parameters can be given in any order and have the following meaning:

You can also specify these parameters, all or in part, in a configuration file, by default in the file listobjects.ini. If the parameter cfg is not present on the command line, the program will automatically read the file listobjects.ini if it exists in the same directory as the listobjects.exe. Parameters on the command line will always have priority over parameters specified in a configuration file. This file should look like:

[Configuration]
project=<project name>
path=<path in project>
file=<output xml file>
level=<required revision level>
user=<required user for development revision>
[Server]
host=<server host name>
port=<server port>

Invocation examples:

listmodels /project="my project" /file=output.xml
listmodels /project="another project" /path="text blocks" /file=textblocks.xml
listmodels /project="my project" /path="model docs\invoices" /file=models.xml
listmodels /project="my project" /file=output.xml /cfg=itprep.ini
listmodels /project="my project" /file=output.xml /server.host=server01
listmodels /project="my project" /file=output.xml /level=accepted
listmodels /project="my project" /file=output.xml /level=development /user=jane