Views
As part of completing work, a view is a component of the user interface that gathers information from a user or displays information to the user. Views display the fields necessary to complete the current assignment.
For example, a loan application might provide online views with fields for applicants to enter their personal information, loan details, and relevant financial information. The application might provide different views for an internal loan officer, who sees the applicant's information as read-only fields and enters the resulting approval or rejection decision and explanation into editable fields.
Design views so that users can enter the necessary information into relevant fields. Pega Platform™ stores the name of the field and the value of the user input as a data element, which makes the information reusable. The application can make the stored data elements available for editing or present the data as read-only.
Views for specific tasks
Consider a process for making loans. In this example, there are two steps.
The first step in the process requires customers to enter information for a loan application. The form contains fields for entering information such as the customer's name, the loan amount, and the loan type. After customers complete the form, the system sends the request to loan officers for review.
In the second step of the process, loan officers have a Loan officer view that displays the data collected from the application. Loan officers can only read but not update the information. The loan officer view also contains fields for officers to enter information such as loan insurance eligibility and whether the application is approved or rejected.
In the center of the following image, slide the vertical line to view the steps of the loan application process.
View considerations
During view creation, you determine the information that users need to see or collect to perform specific tasks. For example, you create a loan application view in which users enter specific information.
In the following image of the loan application view, click the + icons to learn more about the items to consider and questions to ask when creating a view.
Views versus forms
The view is a reusable configuration of UI elements that you can use to interact with a case. The form is an interface for collecting data from users and processing the work. A form can have one or more views. But the view is not always a form. For example, in an online shopping website, the customer needs to enter personal information and shipping information. Views can have UI elements such as the first name, last name, state, country. The form can have the submit and cancel buttons.
In the following image, click the + icons to learn more about how forms, views, and fields work together to create an interactive web page for a case.
Check your knowledge with the following interaction:
This Topic is available in the following Module:
Want to help us improve this content?