CPSA User Interface Development & Navigation 3 — Questions and Answers
Question 1: In Pega, which element of the portal configuration controls what the user sees in the left navigation panel?
- Skin rule
- Navigation rule (Correct answer)
- Portal rule
- Header section
Correct answer: Navigation rule
The Navigation rule defines the menu items, links, and structure that appear in the portal's navigation panel for a given operator.
Question 2: What is the role of the 'pyWorkPage' in Pega case user interfaces?
- It stores the list of available work types
- It is the primary clipboard page holding the current case's data (Correct answer)
- It manages the authenticated user's profile
- It defines the layout of the portal
Correct answer: It is the primary clipboard page holding the current case's data
pyWorkPage is the standard clipboard page that holds all data properties for the currently open case, referenced throughout UI forms.
Question 3: Which Pega UI element is best suited for displaying a dynamic list of records that the user can sort and filter?
- Dynamic layout
- Repeating dynamic layout
- Grid (Correct answer)
- Section with list property
Correct answer: Grid
The Grid control in Pega provides built-in sorting, filtering, and pagination for displaying lists of records from a data page or clipboard page list.
Question 4: In Pega's UI framework, what is the purpose of a 'Harness' rule?
- To define reusable data transformations
- To wrap a complete user interface view such as a form or portal page (Correct answer)
- To set up routing logic between application layers
- To store reference data for dropdowns
Correct answer: To wrap a complete user interface view such as a form or portal page
A Harness rule is the top-level container for a Pega UI view, assembling sections, layouts, and controls into a complete screen or form.
Question 5: How does Pega handle field-level validation in a user interface form?
- By running a when rule on every keystroke
- By executing edit validate rules associated with properties when the user submits or tabs out (Correct answer)
- By checking constraints only at case close
- By querying the database before each field update
Correct answer: By executing edit validate rules associated with properties when the user submits or tabs out
Edit Validate rules associated with a property are triggered on field exit or form submission, displaying inline error messages if the value fails validation.
Question 6: Which Pega feature enables you to define a custom style theme for an application's UI without editing individual section rules?
- CSS override file
- Skin rule (Correct answer)
- Theme page
- Portal overlay
Correct answer: Skin rule
The Skin rule in Pega centralizes visual styling—fonts, colors, borders, and mixins—and applies them globally across the application's UI.
Question 7: In Pega, what is the function of the 'Pre-activity' on a flow action?
- It validates data after the user submits the form
- It executes logic before the form is displayed to the user (Correct answer)
- It routes the case to the next stage automatically
- It refreshes the portal navigation after form close
Correct answer: It executes logic before the form is displayed to the user
A Pre-activity runs server-side logic (such as populating default values) before the flow action form is rendered to the user.
In Pega, which element of the portal configuration controls what the user sees in the left navigation panel?