Creating field groups in Constellation Views
4 Tasks
35 mins
Intermediate
User Experience
Constellation
English
Scenario
Important aspects of the UI configuration for the application from . are Field Groups and the Search and select pattern for navigating product list information. As a System Architect on the application project, you are tasked with configuring the Service Details and Product Details Views that incorporate these UI features.
Note: Complete the challenge Designing Views with Constellation before beginning this challenge.
Note: This challenge has been configured with Single sign-on (SSO) using your Pega Academy credentials. If you are not automatically signed-in to the challenge environment after initializing the instance, you may use the credentials provided.
The following table provides the credentials you need to complete the challenge:
| Role | User name | Password |
|---|---|---|
| System Architect | Author@SL | pega123! |
Note: This challenge does not have a demo video. Please refer to the Detailed Tasks for step-by-step instructions to complete the challenge.
Detailed Tasks
1 Configure a Field Group and Validation in the Service Details View
- In the navigation pane, click Case Types, and then click Incident.
- On the Workflow tab, in the Create stage, click the Service Issue step, and then click Configure User Action.
- On the View tab, in the Fields section, click Add > Fields, select Communication channel, and then click Add.
- Click Add > Create Field Group.
Note: Field Groups are unique to the View in which they are created. For more information about Field Groups, see Configuring field groups.
- In the New field group dialog box, in the Heading field, enter Incident details.
- In the Instructions list, select Show instructions, in the Instruction text field enter Please answer the questions below, and then click Submit.
- In the Incident details field group row, click the Add icon > Fields, select What happened? and When did this happen?, and then click Add.
- For each of Communication channel, What happened?, and When did this happen?: click the gear icon for the field, set Required to Always, and then click Save.
- Click the Conditions tab, and then click Add condition.
- In the Message field, enter The date must be in the past, set the condition to When did this happen?, is after, Today, and then click Submit.
Note: For more information about building a custom Condition, see Defining Conditions in the Condition builder.
- Click Save.
2 Configure the Field Groups for the Product Details View
- On the case type, click the UX tab, and then click Other Views.
- Under Form, click Product Details to open the view editor.
- Click Add > Create Field Group. In the Heading field, enter Select product. In the Instructions list, select Show instructions, in the Instruction text field enter Please select the product that was involved in the incident, and then click Submit.
- Click Add > Create Field Group. In the Heading field, enter Incident details. In the Instructions list, select Show instructions, in the Instruction text field enter Please answer all of the questions below, and then click Submit.
Note: This Incident details Field Group is unique to the Product Details View and is not related to the Incident details Field Group created for the Service Details View in Task 1 of this challenge.
3 Configure the Select Product and Incident Details Field Groups
- In the Select product field group, click Add > Fields > Create Field.
- In the Add field dialog box, configure the following settings:
- Name: Product
- Type: Data Reference
- Data object: Product
- Options: Single record
- Expand Advanced, select Reference data is copied to the case (the Data page field defaults to Product), and then click Submit.
- Click the Product field to open the field editor.
- Under Input settings, configure the following settings:
- Mode: Single-select
- Display as: Table
- Data page: List Product
- In the Columns section, add Name, SKU, and Category Name, and then remove the default Primary fields column so that only those three columns remain.
- Click Back.
- In the Select product field group, click Add > Fields, expand Product and then Fields, select Cost, and then click Add.
- In the Select product field group, click Add > Fields > Create Field. In the Add field dialog box, configure the following settings, and then click Submit:
- Name: Proof
- Type: Attachment
- Attachment category: Picture
- Type: Single record
- In the Proof field row, click the gear icon. In the Label list, select Custom and enter Proof, in the Helper text field enter Please attach proof of issue, and then click Save.
- In the Incident details field group, click Add > Fields, select What happened? and When did this happen?, and then click Add.
- Click Save.
4 Configure Validation on the Product Details View
- On the case type, click the Workflow tab, in the Create stage click the Product Issue step, and then click Configure User Action.
- Click the Conditions tab, and then click Add condition.
- In the Message field, enter The date must be in the past, set the condition to When did this happen?, is after, Today, click Submit, and then click Save.
Available in the following mission:
If you are having problems with your training, please review the Pega Academy Support FAQs.
Want to help us improve this content?