Error: Invalid spaceKey on retrieving a related space config.

Import-export scenarios

The following are examples of common tasks you might perform with DefinitionExport and DefinitionImport.

Exporting objects from a AR System server scenario

When you export objects from the server, you export objects to a target file. You can export all objects for all forms by using the following command format:


DefinitionExport -u <userName> [-p <password>] -x <serverName>
-e <targetFileName> -F


To export objects from a single form, use the following command format:


DefinitionExport -u <userName> [-p <password>] -x <serverName>
-e <targetFileName> -f <formName>


To parse an XML packing list, and export all objects defined in that packing list, use the following command format:


DefinitionExport -u <userName> [-p <password>] -x <serverName>
-e <targetFileName> -l <packingList.xml>

Note

You cannot export server objects that include a percent sign (%) in their name.

Importing objects into a AR System server scenario

When you import objects into the server, you import objects from a source file. You can import all objects for all forms by using the following command format:


DefinitionImport -u <userName> [-p <password>] -x <serverName>
-e <sourceFile> -F

To import specific objects from a source file, use the following command format:


DefinitionImport -u <userName> [-p <password>] -x <serverName>
-e <sourceFile> -f <formName> -a <activeLinkName>


To parse an XML packing list, and import all objects defined in that packing list, use the following command format:


DefinitionImport -u <userName> [-p <password>] -x <serverName>
-e <sourceFile> -l <packingListName>.xml



The -l option parses the XML packing list and imports all objects defined in the packing list. This option overrides other options in the same command.

Was this page helpful? Yes No Submitting... Thank you

Comments