Importing/Exporting Objects

Objects can be imported and exported between different Automation Engine systems or between the individual Clients of the same system. The object information is stored in an XML file and can be exchanged between the different platforms.

This topic includes the following:

Overview

XML imports require the target Automation Engine system to have at least the same Service Pack version as the source system. The import function for XML data is downwards compatible, so importing objects from older into newer versions is supported. However, importing newer XML data schemas into older Automation Engine systems is not possible.

You can import and export objects using either the Automic Web Interface (from the Process Assembly perspective and from the Global Search dropdown list) or the following script elements: IMPORT and EXPORT.

Size and Number of Objects

The maximum allowed size of the XML import file in kB is set on system client 0 in the MAX_IMPORT_SIZE key in the UC_SYSTEM_SETTINGS - Systemwide Settings variable. The hard limit is maximum 30720 KB. This will be enforced if the parameter is missing or a bigger value is set.

The administrator can also limit the maximum number of objects that should be exported at once. Use the MAX_EXPORT_COUNT key for this purpose.

For details see UC_SYSTEM_SETTINGS - Systemwide Settings

Differences between Transporting and Exporting or Importing

Exporting Objects

You can export objects individually or you can select multiple objects and export them in bulk. You can also export folders and a combination of files and folders. In either case, one single XML file called export.xml is created that contains all the object-relevant data as well as the original folder structure. It is saved to your Downloads folder.

Some objects may reference other objects. This is the case of workflows, schedules, etc. When you export them, you can decide whether you want to include the referenced objects or not.

Exceptions

Objects that are referenced in the following ways are not exported, even when you export referenced objects:

Exporting STORE Objects

Exporting STORE objects is slightly different because they contain text and/or binary files. When you export a STORE object, a zip file is created and saved to the Downloads folder. The ZIP file includes the following:

To Export Objects

  1. In the Explorer of the Process Assembly perspective, select the objects, folders or a combination of both.

  2. Right-click and select Transfer > Import/Export. The Import/Export dialog is displayed.

    This option is not available from the Recently Used and Favorites tables.

  3. Select Export.
  4. The Settings: Export with references checkbox is only available if the object to be exported contains references to other objects. This is important if you are exporting Workflows, Schedules, PromptSets, etc.

    Activate it to export the selected object and all its children.

    Note: This option is not available for Client (CLNT), Server (SERV), Agent (HOST), Login (LOGIN), Folders (FOLD), and Store (STORE) objects.

  5. Click Export.

    Either a .zip file called export.zip (if you are exporting one STORE object) or an XML file called export.xml is saved to the Downloads folder.

    Both files are ready for importing into another client or AE system.

  6. If this folder contain links to other objects that are outside the structure you are exporting, an additional dialog is displayed prompting you to confirm whether you want to export those objects.

Importing Objects

You can then import the .xml or .zip file into a different client or AE system. You can replace existing objects with the ones you are importing and keep folder links, if available. If you are importing folders with sub folders, their structure is kept.

Important! The name of the .xml file contained in the .zip file must be export.xml when importing files from previous Automation Engine versions.

Importing Calendars

The following considerations are important when importing Calendars:

For more information, see Calendars (CALE).

To Import Objects

  1. Right-click anywhere on the location in the Process Assembly Explorer in which you want to import the objects and folders and select Transfer > Import/Export. The Import/Export dialog is displayed.

    Alternatively, to import a folder and its contents, right-click it on the Explorer pane and select Import/Export. This option is not available from the Recently Used and Favorites tables.

  2. Click the upload icon and search for the file you want to import. Only .zip and .xml files can be selected for upload.
  3. Activate Settings: Replace existing objects if you want to overwrite existing objects with the ones you are importing.
  4. When you replace objects, use the Keep existing folder links option to preserve any existing object links as they are in the target system. This means that links to objects in Favorites, Dashboards, etc. will be preserved as-is in the target system, and you will not have to recreate them.

    If an object is imported in a different folder than its existing home folder in the target system, the home folder will not be changed, but instead a link will be created in the target folder.

  5. Click Import.

    The objects are imported on the current location. If you are replacing existing ones, they are not created here though. The already available ones are replaced by the new ones.

    A message is displayed indicating which objects have been imported and/or replaced. Click Close to return to the Explorer.

Editing the Generated XML Files

Various tools are available that can be used to edit the generated .xml files. If you use Notepad, take into account that it creates additional header information if exported objects include special characters (such as titles with German U umlauts) in order to display them. This changes the content of the .xml. Thus, the Automation Engine cannot guarantee that importing will provide the results you expect.

Restrictions

Authorizations that are granted at object level (Authorizations Page ) cannot be exported.

For security reasons, passwords cannot be exported either.

Importing is not available from the following lists:

This is because the items in these lists are links to the actual objects. See Object Links.

See also: