Journey Manager (JM) The transaction engine for the platform. | Platform Developer | 23.10This feature was updated in 23.10
Manager allows you to export and import a current form version or all versions of a selected form. After you build a form in Maestro, you usually deploy it to Manager using this import functionality.
You can also use this functionality to:
Manager allows you to import a form as an application. The main difference between these imports is an archive file format that contains application XML configuration for applications or form XML configuration for forms.
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 using one of following options:
To import a form:
The experimental Global Forms feature has been temporarily disabled while we continue improving it. This feature will be disabled in releases starting from 24.10 and going back to 23.10.
The Add to Organization dropdown list is shown only if you have access to more than one organization.
The additional field is shown where you need to:
The additional field is shown where you need to:
The form code is an alphanumerical string that can't include spaces.
If you import a form with form spaces assigned to it, which don't exist in a target environment, these form spaces won't be automatically assigned to the form and will be ignored. In this case, you will need to import the missing form spaces and assign them to the form manually.
The services are referenced by a name and a version and must exist in the target system prior to the import, otherwise they can't be imported.
The form functions are referenced by a name and a version and must exist on the target server prior to the import, otherwise they can't be imported.
If the Create a New Form option was selected during the import process, and there was a form naming conflict, that is a form with the same name already existing on the server, the form will be renamed, and a message will be displayed in the Detail Message tab.
If errors are sever, you may want to update Manager configuration to fix the error and import the form again.
You should check the list of forms to verify the imported form has been added, as well as the form's configuration is correct, for example, all form spaces are assigned to the form.
You can check the Audit Log and Error Log for successful and failed import operations respectively, whilst the Import Log shows all import operations.
You can also import Maestro forms using the Maestro dashboard.
When importing a form that has come from a more recent version of Manager, you may get an IllegalArgumentException error. To resolve this error:
The Journey Manager SDK Maven plugin provides the tm-sdk:archive-deploy goal to import a form.
The Journey Manager REST API provides the endpoint URL to import a form.
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-form.zip”’
- a path to an archive file to be imported.
--form ‘importOptions=“FORM_DEFINITION,DELIVERY_DETAILS,FORM_SPACES”’
- 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, FORM_SPACES
for Spaces.
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-client.zip”’ \
--form ‘importOptions=“FORM_DEFINITION,DELIVERY_DETAILS,FORM_FUNCTIONS,FORM_GROUPS,FORM_SPACES,CURRENT_VERSION,\
DEPLOYMENT_PLAN, FORM_DATA_CONFIGURATION,ATTACHMENTS,PROPERTIES,VERSION_SERVICES,METADATA,CATEGORIES,\
COPY_FROM_LATEST_VERSION”’
Next, learn how to export forms.