DeepImport
This method can be used to import a complete application structure all at once; that is, the application entity together with all its sub entities and its deployment model.
Deep Import validates the input parameters and gets the ZIP file of a previously performed deep export. It extracts and saves its content into a temporary folder.
Note: The files are processed and imported one by one in the sequence listed in the meta file Export.xml. See: DeepExport.
Important! This method cannot be used to import Applications from older versions (CDA 12.1 and lower).
Syntax
Importexportcli.exe deepImport -con url -usr username -pwd password -mt Application
-fi filename [-failonerror]
(line breaks for formatting purposes only)
Parameters
- -con: URL of the import/export service of the web application
Example:
https://www.mycompany.com/WebUI
- -usr: Name of the user (syntax: system name / client number / user name / department)
Note: When only one client is installed, the system name is optional.
-
-pwd: Password of the user specified in -usr or the token that is returned by the Java API
- -mt: Application
- -fi: Path name to the file that contains the entities you want to import
- -failonerror: Flag indicating whether the processing of the command shall continue or abort in an error:If ‑failonerror option is present, the processing of the command will stop if an error occursIf ‑failonerror option is not present, the processing will continue even if there is an error
Note: Applications imported from versions lower than 12.2 are automatically converted to the new structure.
Example
deepImport -con https://www.mycompany.com/WebUI -usr myusername -pwd mypassword
-mt Application -fi c:\import\crm-frontend-app.zip -failonerror
(line breaks for formatting purposes only)
See also:
- Import - of a single entity
- DeepImport - for the equivalent web service request
- DeepExport - for the export of a complete application structure at once and the ZIP archive structure
- CA Automic Community: DeepImport troubleshooting