Importing Objects - Noninteractive
In a noninteractive mode, you can import the objects using import.xml file.
If you want to retain the activities while importing the objects then you need to configure the parameters in the retain.xml that you want to retain. You will find retain.xml in the .../<AdeptiaInstallFolder>/AdeptiaServer/ServerKernel/MigrationUtility folder.
To import objects:
- Go to .../<AdeptiaInstallFolder>/AdeptiaServer/ServerKernel/MigrationUtility folder.
- Open import.xml in the Text Editor and do the following:
- Type the location of the zip file that you want to import in the <SourceZipLoc>.
- Type the Adeptia Suite location (till Adeptia Server) on which zip is to be deployed in the <TargetInstallDir>.
- Type the location of “retain.xml” file in the <RetainXMlLocation>.
- Type the User Id of the user to whom you want to provide the ownership of the objects that you are deploying from the Source environment in the <OverrideUser>.
- Save the file.
- Open Command Prompt (Windows) or Terminal (Linux).
- Go to the directory .../<AdeptiaInstallFolder>/ AdeptiaServer/ServerKernel folder.
- Run the following command:
For Windows:
migrationutility.bat –import <path of the import.xml file>
For Linux:
./migrationutility.sh –import <path of the import.xml file>
where,
<path of the import.xml file> is location of import.xml file.
This imports your entities in noninteractive mode.