Description

IBM® Content Manager OnDemand includes an XML interface that imports and exports administrative objects in Content Manager OnDemand. In this model, all administrative objects are exported into an XML file, and can be imported into the same system or another system later. You can also create an XML file through a user application or Web interface according to the defined specifications, and import a single object or multiple objects into the system by importing the XML file.

The data import feature allows you to import a single object, a set of defined objects, or even an entire OnDemand system. This features enables you to complete the following tasks:
  • Update a system with newly defined objects
  • Backup a complete system
  • Copy a set of objects from one system to another system
The XML import file can be one of the following:
  • A file which was previously created during a Content Manager OnDemand export process.
  • A user created XML file which conforms to the Content Manager OnDemand XML schema.
The following table shows the ARSXML return codes and their meanings.
Table 1. ARSXML return codes
Return code Meaning
0 success
1 warning
2 syntax error
3 error
4 unrecoverable error
Important:
  • The syntax of each Content Manager OnDemand object that is supported by the import process is specified in the Content Manager OnDemand XML schema file. Each object within the XML file must conform to the exact syntax as specified in the Content Manager OnDemand XML schema file that is shipped with the product. Objects must appear in the order described in XML objects in the Content Manager OnDemand XML file.
  • The capitalization of the object names is important and should be used exactly as shown in the data tables in .
  • The ARSXML validate function validates only the input XML file schema. It is possible that your input XML file passes the validation but still fails due to object inconsistencies. For example, if you attempt to update a user that does not exist, validation can succeed but you will receive an error message in the update process.