Creating partial Views with Constellation
2 Tasks
45 mins
Scenario
As a Case progresses toward resolution, users often need to review information that was previously entered or referenced earlier in the Case Life Cycle. With Constellation applications, you can accomplish this outcome by using. Partial Views are read-only Views that can be configured during application development and easily added into other Views.
In this challenge, you will configure the View associated with the Step by creating and combining several Partial Views.
The following table provides the credentials you need to complete the challenge:
| Role | User name | Password |
|---|---|---|
| System Architect | Author@SL | pega123! |
Detailed Tasks
1 Create Partial Views for Terms and Conditions and Privacy Policy
- In the Pega instance for the challenge, enter the following credentials:
- In the User name field, enter Author@SL.
- In the Password field, enter pega123!
- In the navigation pane of App Studio, click Case Types > Incident to open the Incident Case Type.
- Click the UX tab, and then click the Other Views tab.
- In the Partial section, create two new partial Views named Terms and Conditions and Privacy Policy.
Both should use the Details (One column) template. - Click Terms and Conditions link to configure the View.
- Add the Terms and Conditions URL field to the View.
- Click the Gear icon to configure the field:
- In the Label field, select Custom.
- In the Custom label, enter Terms and Conditions.
- In the Edit mode list, select Read-only.
- In the Display as list, select URL.
- Click Save.
- On the Other Views tab, in the Partial section, click Privacy Policy link to configure the View.
- Add the Privacy Policy URL field to the View, and then click the Gear icon to configure the Privacy Policy URL field:
- In the Label field, select Custom.
- In the Custom label field, enter Privacy Policy.
- In the Edit mode list, select Read-only.
- In the Display as list, select URL.
- Click .
2 Configure the Review View
- Navigate back to the Other Views tab.
- In the Form section, create a View named User Consent using the Default form template.
- In the User Consent View, in the Fields section, add the following elements:
- Privacy Policy field.
- User Consent field.
- Privacy Policy View.
- Terms and Conditions View.
- Reorder the elements in the following order:
- User Consent field.
- Terms and Conditions View.
- Privacy Policy field.
- Privacy Policy View.
- In the User Consent field row, click the Gear icon, and then configure the field:
- Confirm the Hide label checkbox is selected.
- In the Caption field, select Custom.
- In the field, enter I agree to Terms and Conditions.
- In the Conditions section, In the Required list, select Always.
- Click Save.
- In the Privacy Policy field row, click the Gear icon, and then configure the field:
- Confirm the Hide Label checkbox is selected.
- In the Caption field, select .
- In the Custom caption field, enter Privacy Policy.
- In the Conditions section, in the Required list, select Always.
- Click Save.
- In the Terms and Conditions View row, click the Gear icon, and then clear the Show heading checkbox.
- Click Save.
- In the Privacy Policy View row, click the Gear icon, and then clear the Show heading checkbox.
- Click Save.
- Navigate back to the Other Views tab, open the Review View, and then add the User Consent View.
- Click Save.
Available in the following mission:
Want to help us improve this content?