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 navigation pane, click Case Types, and then click Incident.
- On the Incident Case Type, click the UX tab, and then click Other Views.
- Under Partial, click Create.
- In the Create a new View dialog box, enter the Name Terms and Conditions, keep the Details (One column) template, and then click Submit.
- Under Partial, click Create again.
- In the Create a new View dialog box, enter the Name Privacy Policy, keep the Details (One column) template, and then click Submit.
- Under Partial, click Terms and Conditions to open the View.
- Click Add > Fields, select Terms and Conditions URL, and then click Add.
- In the Terms and Conditions URL field row, click the gear icon, configure the following settings, and then click Save:
- Label: Custom > Terms and Conditions
- Edit mode: Read-only
- Display As: URL
- Click Back.
- Under Partial, click Privacy Policy to open the View.
- Click Add > Fields, select Privacy Policy URL, and then click Add.
- In the Privacy Policy URL field row, click the gear icon, configure the following settings, and then click Save:
- Label: Custom > Privacy Policy
- Edit mode: Read-only
- Display As: URL
- Click Back, and then click Save.
2 Configure the Review View
- On Other Views, under Form, click Create.
- In the Create a new View dialog box, enter the Name User Consent, keep the Default form template, and then click Submit.
- Under Form, click User Consent to open the View.
- Click Add > Fields, select User Consent, and then click Add.
- Click Add > Views, select Terms and Conditions, and then click Add.
Note: If Terms and Conditions is not in the list of Views, click Save, log out, log back in, and then reopen the User Consent View.
- Click Add > Fields, select Privacy Policy, and then click Add.
- Click Add > Views, select Privacy Policy, and then click Add. (The order is the User Consent field, the Terms and Conditions View, the Privacy Policy field, and the Privacy Policy View.)
- In the User Consent field row, click the gear icon, confirm Hide Label is selected, set Caption to Custom > I agree to Terms and Conditions, set Required to Always, and then click Save.
- In the Privacy Policy field row, click the gear icon, confirm Hide Label is selected, set Caption to Custom > Privacy Policy, set Required to Always, and then click Save.
- In the Terms and Conditions View row, click the gear icon, clear Show heading, and then click Save.
- In the Privacy Policy View row, click the gear icon, clear Show heading, and then click Save.
- Click Save.
- Click Back.
- On Other Views, under Form, click Review to open the View.
- Under Fields, if the User Consent View is not listed, click Add > Views, select User Consent, and then click Add.
- Click Save.
Available in the following mission:
Want to help us improve this content?