Skip to main content

Configuring UI elements

2 Tasks

10 mins

Visible to: All users
Beginner Pega Platform '23 User Experience Constellation English

Scenario

After a request for roadside assistance is approved, a service provider is dispatched to the location provided by the customer. To perform this task, customer service representatives (CSRs) request the ability to verify and modify the service address when selecting the service provider.

Add a Boolean field and the Identify location View to the Select service provider View so that the CSR can verify the service address submitted by the customer. Configure the Identify location View to be visible when the Boolean field is selected.

Note: The framework of this challenge uses the Constellation architecture of Pega Platform™. To practice this challenge on the Traditional UI architecture, see the Adding dynamic functionality to a button and the Setting a visibility condition for form content version 8.8 challenges.

The following table provides the credentials you need to complete the challenge.

Role User name Password
Application Developer author@gogoroad pega123!
Note: Your practice environment may support the completion of multiple challenges. As a result, the configuration shown in the challenge walkthrough may not match your environment exactly.

You must initiate your own Pega instance to complete this Challenge.

Initialization may take up to 5 minutes so please be patient.

Challenge Walkthrough

Detailed Tasks

1 Add a Boolean field to the Select service provider View

  1. In the Pega instance for the challenge, enter the following credentials:
    1. In the User name field, enter author@gogoroad.
    2. In the Password field, enter pega123!.
  2. In the navigation pane of App Studio, click Case Types > Assistance Request.
  3. Click the Select service provider Step to display the contextual properties pane on the right.
  4. In the contextual properties pane, click Configure View to configure the Select service provider View.
  5. In the Fields section, click Add > Fields > Create new field to display the Add field window.
  6. In the Name field, enter Modify service address.
  7. In the Type list, select Boolean.
  8. In the Add field window, click Submit.
    Add field window for the Modify service address Boolean field

2 Add and configure conditional visibility for the Identify location View

  1. In the Fields section, click Add > Views > Identify location, and then click Add.
  2. To the right of the Identify location View, click Configure to display the View settings: Identify location window.
    Configure button to the right of Identify location
  3. In the Visibility list, select Custom Condition.
  4. To the right of Custom Condition, click Configure Visibility Condition to display the Condition Builder window.
    Identify view Configure Conditional Visibility button
  5. In the Field list, select Modify service address.
  6. In the Conditional operator list, keep the default value is true.
  7. In the Condition Builder window, click Submit.
    Condition Builder for the Identify location View
  8. In the View settings: Identify location window, click Save.
  9. To the left of the Service provider field, click the handle, and then drag the field to the bottom position in the Fields section.
    Select service provider View fully configured
  10. Click Submit to submit the changes to the Select service provider View.
  11. Click Save to save the Assistance Request Case Type.

Confirm your work

  1. Click Save and run to create an Assistance Request Case instance.
  2. Advance the Case to the Enter customer information View.
  3. In the Customer ID list, select [email protected].
  4. Click Next to advance the Case to the Identify location View.
  5. Enter values in the Street, City, and State fields, and then advance the case to the Select service provider View.
    Identify location view
  6. In the Select service provider View, click the Modify service address checkbox. 
  7. Confirm that the Identify location View is displayed with the Street, City, and State values you entered previously.
    Select service provider View with Modify service address selected
  8. Clear the Modify service address checkbox, and confirm that the Identify location View is not displayed.
    Select service provider View with Modify service address un-checked

This Challenge is to practice what you learned in the following Module:


Available in the following missions:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice