Deploy and configure Journey Engage
Overview
Journey Engage requires the Workspaces module to be setup in your Journey Manager (JM) environment. This topic explains how to setup the Workspaces module for Journey Engage.
To setup Workspaces for Journey Engage, follow these steps.
note
To perform these instructions, you need to login to your JM environment with an account that has sufficient administrative privileges; for example, the System Manager role.
Deploy the Workspaces module
The Workspaces module, which includes the Workspaces REST API, is distributed in the Workspaces WAR file.
info
Prior to the 20.05 release, the Workspaces WAR file contained both the Workspaces REST API and the Workspaces client application. In the 20.05 and later releases, the Workspaces WAR file no longer contains the Workspaces client application.
There are two ways to deploy the Workspaces module.
- Journey Manager installer option: Recommended. The Workspaces module is included in the Journey Manager installer as an optional package (Modules and Spaces > Form Spaces > JM Work Space). This means you can deploy the Workspaces module during a Journey Manager installation or upgrade.
info
The JM installer doesn't support a standalone installation of the Workspaces module.
- Manual import: If you need to deploy the Workspaces module manually, download the relevant Workspaces WAR file and import it into your Journey Manager instance.
Upon successful deployment by either method, a new form space called Work Spaces appears on the Form Spaces page in Journey Manager.
note
If you don’t see the Work Spaces form space on the Form Spaces page after a few minutes, the deployment may have failed. Go to the deployment folder in your JM instance, locate the file called {warfilename}.war.FAILED
, and raise a support request (login required) attaching this file.
Import a WAR file
If you need to import a Workspaces WAR file into Journey Manager, follow these steps:
- In Journey Manager, select Forms > Form Spaces.
- Click Import WAR.
- Click Choose File, then use the file dialog to locate and select the Workspaces WAR file to be imported.
- To complete the WAR file deployment, click Import. A message is displayed on the Form Spaces page indicating whether the WAR file deployment was successful.
Optional: Create the Applicants Read Only View permission
When you deploy the Workspaces module, a default Journey Engage permission called Applicants Read Only View is created. However, sometimes this permission may be missing; for example, if you upgrade your TJM environment from an older release without also upgrading the Workspaces module. Regardless of why this permission is missing, you can add it as follows.
Start by downloading the installed Workspaces WAR file.
- Login to Journey Manager, and navigate to Forms > Form Spaces.
- Locate the Work Spaces form space, and click the Module WAR File link. The Workspaces WAR file, called
tm-workspaces.war
, is downloaded.
Next, update the Workspaces WAR file to include the Applicants Read Only View permission. To complete this process, you need an archive tool that supports the WAR file format (such as 7-Zip).
info
The following instructions assume your archive tool supports in-place file modification; that is, you can modify a file in the archive without having to extract it. If your archive tool doesn't support in-place file modification, you need to extract the XML file from the WAR file before modifying it, and update the WAR file with the modified XML file afer modifying it.
To update the Workspaces WAR file, follow these steps:
- In the
tm-workspaces.war
file, locate theWEB-INF/classes/db-config1.xml
file and open it for editing. - In the
db-config1.xml
file, search for the<permissions>
element in the<portal name="Work Spaces">
element, and add the permission<permission>applicants-read-only-view</permission>
as shown in the following code sample:<portal name="Work Spaces">
...
<permissions>
...
<permission>applicants-read-only-view</permission>
</permissions>
</portal>note
There's also a
<permissions>
element in the<roles>
element. Don't modify that one. - Save the
db-config1.xml
file.tip
If your archive tool allows in-place file modification, it may prompt you to update the
tm-workspaces.war
file when saving thedb-config1.xml
file. Accept this if offered. - Close the
tm-workspaces.war
file.
Finally, re-deploy the updated Workspaces WAR file; see Import a War file above.
Prepare for first use
Once the Workspaces module has been successfully deployed, a number of configuration steps are required to prepare Journey Engage for use.
Configure the Workspaces form space
You can edit the Work Spaces form space to configure attributes such as the context path and other access related settings. For more information about configuring a Journey Manager form space, see Edit a Form Space.
- In Journey Manager, select Forms > Form Spaces.
- In the list of form spaces, locate Work Spaces and click the Edit icon for that space. Alternatively, you can click the Name of the Workspaces space.
- Select the Space tab.
- Update the domain part of the Context Path URL to be the same as your JM domain.
- Select a Security Manager to be used for Workspaces.
- Select the Authentication Mode matching the level of authentication required to access Workspaces.
- If you need to be able to modify the Work Spaces space at runtime, select the Content Editable checkbox.
- Select Default Forms Space to route all job step actions to the new Work Spaces space by default.
info
If you want to use a Context Path domain different to the JM domain then you may need to configure a reverse proxy for redirection.
Create an Applicants role
Journey Engage users need a role with limited permissions to create and manage their own applications.
Follow these steps to create a new role for applicants.
- In Journey Manager, select Security > Roles.
- Click New.
- Enter a name and description for the new role. For example, you could use the name
Applicants
and descriptionJourney Engage users
. - Ensure the Active checkbox is selected.
- Click Save.
- Switch to the Permissions tab, and select Work Spaces from the Spaces & Module dropdown list.
- Select the Applicants Read Only View permission in the Available list box and move it to the Assigned list box.
note
If the Applicants Read Only View permission is not available, you can add it; see Create the Applicants Read Only View permission above.
- Click Save.
Grant user access
Journey Engage users must be assigned to the Work Spaces space before they can login and access it's features. Follow these steps to grant users access to the Work Spaces space.
- In Journey Manager, select Security > User Accounts.
- In the list of user accounts, locate the user to be configured and click the Edit icon for that user. Alternatively, you can click the user's Login Name.
- Select the Spaces tab.
- If Work Spaces is in the Available list, select it and click > to move it to the Assigned list.
- Click Save.
- Select the Roles tab.
- Ensure the role required to use Journey Engage is assigned to the user account. You may have created this role in the previous section.
- Click Save.
Accessing the Journey Engage
Once you have built the Journey Engage client application with the Applicant space, you need to deploy it in Journey Manager. For details, see Form Development and Form Deployment and Security.
Server Errors
For information about server errors, see Workspaces API.