Journey Manager (JM) The transaction engine for the platform. | System Manager / DevOps | All versions This feature is related to all versions.
Manager allows you to import form spaces as ZIP or WAR archive files. The main difference between the imports is a ZIP archive contains only form’s pages related configuration, whilst a WAR archive contains the whole form space configuration. You can use the import form spaces functionality to:
Manager runs a virus scanning service before an import file is processed, so the antivirus service must be properly configured and enabled. If a virus is detected, the import operation fails and a corresponding record is added to the Error Log. | 23.04 This feature was introduced in 23.04
You can import a form space using one of following options:
To import a form space as a ZIP archive:
You can check the Audit Log and Error Log for successful and failed import operations respectively, whilst the Import Log shows all import operations.
The Journey Manager SDK Maven plugin provides the tm-sdk:archive-deploy goal to import a form space.
The Journey Manager REST API provides the endpoint URL to import a form space.
To call this REST API, you need:
http(s)://<JM_SERVER>/manager/secure/rest/archive/v1/
--header ‘Authorization: Basic <USE-NAME-AND-PASSWORD-BASE64-ENCODED>’
- an HTTP header containing 'username:password'
encoded as Base64Base64 is a binary to a text encoding scheme that represents binary data in an American Standard Code for Information Interchange (ASCII) string format..
--form ‘archiveFile=@“/Users/my-portal.zip”’
- a path to an archive file to be imported.
--form ‘importOptions=“PORTAL_DEFINITION,PAGES,PROPERTIES,RESOURCES”’
- a comma-separated list of import options to perform. The option names are the same as described in the Import Using UI section but they use an underscore, for example, PORTAL_DEFINITION
for Import Portal Definition.
200 OK
status code.
curl --location --request PUT ‘https://<JM_SERVER>/manager/secure/rest/archive/v1/’ \
--header ‘Authorization: Basic <USE-NAME-AND-PASSWORD-BASE64-ENCODED>’ \
--form ‘archiveFile=@“/Users/my-portal.zip”’ \
--form ‘importOptions=“PORTAL_DEFINITION,PAGES,PROPERTIES,RESOURCES”’
Next, learn how to export form spaces.