Create an Entity in the ID Field Exercise v17.10
PlatformApplicable to all products in Temenos Journey Manager. |
Form Builder | All versions
This feature is related to v5.1 and higher.
This exercise will demonstrate how to create an entity directly in the ID field.
Extra help is available at the end of this exercise if you get stuck.
- Create a new form and enter the follow details:
- Form Name: Exercise - Entities
- Description: This form is to demonstrate how to work with entities
- Template: Training Template
- Click Create.
Step 2: Create an Entity
- Add a new ‘Text Field’ into ‘About You’
- To create a new Entity, enter ‘applicant’ followed by an underscore, ‘_'
After the underscore (_) an inline warning displays ‘An Entity called applicant will be created’
- Enter ‘FirstName’ as the ID (then TAB or click away)
The Label only displays ‘First Name’
- Display the ‘Entities’ panel and confirm the ‘applicant’ Entity has one related component (i.e. ‘FirstName’)
- Click Save.
Step 3: Assign an Entity
- Add a new ‘Text Field’ component below ‘First Name’
- Enter the first few letters of ‘applicant’ in the ID property field, i.e. ‘app’
Any matching Entities will display in dropdown
- Select the ‘applicant’ Entity
- Enter ‘LastName’ (after underscore) for the ID
Note: the label only displays ‘Last Name’
- Display the Entities panel and confirm the applicant Entity now has two related components.
Step 4: Create a nested Entity
- Add another new ‘Text Field’ below ‘Last Name’
- Enter ‘app’ in the ID property field and select the ‘applicant’ Entity
- Enter ‘work_’ as the new nested Entity, e.g. ‘applicant_work_’
After the second underscore (_) an inline warning displays ‘An Entity called work will be created’
- Enter ‘Email’ for the ID, e.g. ‘applicant_work_Email’
- Press Tab or click away
Label only displays ‘Email’
- Display the Entities panel and confirm the new nested work Entity with one related component.
- Click Save.
Existing IDs with an underscore will not automatically cause Entities to be created. Entities are only created when you modify an existing ID.
Any underscores followed by one or more digits (like suffixes applied by auto-generated IDs) are also ignored.
Download the Exercise PDF for more detailed instructions to help you complete the exercise.