
Adding fields to Views
Archived
3 Aufgaben
20 Min.
Anfänger
Pega Platform 8.5
Data Integration
User Experience
Englisch
Szenario
Now that the stages and steps for the MyTown311 Service Request case life cycle are configured, the Mayor and the Services coordinator have determined the information that is necessary to add to certain steps. Configure the views for those steps with fields that gather and display the information.
The following table provides the credentials you need to complete the challenge.
Role | User name | Password |
---|---|---|
Application Developer | author@mytown | pega123! |
Challenge-Schritte
Genaue Übungsschritte
1 Add editable fields to views
- In the App Studio navigation panel, click Case types > Service Request to display the Service Request case life cycle.
- In the Service Request case type, click the Report problem step to open the contextual property panel on the right.
- In the contextual property panel, click Configure view to add fields to the view.
- Click Add field to add a new field.
- In the Field name field, enter Request date.
- In the Type list, select Date only.
Tipp: After entering the field name, click the Tab key to select the Type drop-down list, and then select a value. If the Type drop-down list becomes unresponsive, refresh your browser.
- Click Submit & add another to add another field to the Report problem view.
Tipp: When a step has multiple fields, use the Submit & add another option.
- Repeat steps 5-7 to create a Text (single line) field named Requestor name and add a new field.
- In the Field name field, enter Issue severity.
- In the Type list, select Picklist to display the Display as and Picklist options fields.
- In the Display as and Picklist options fields, keep the default values.
- In the Choices section, click Add choice. An empty field is displayed.
- In the Empty field, enter Low as a picklist value.
- Repeat steps 12-13 to create two additional picklist values, Medium and High.
- Click Submit & add another to add another field to the Report problem view.
- Repeat steps 5-6 to create a Text (paragraph) field named Description.
- Click Submit to dismiss the field creation modal.
Tipp: Use the Submit option for the last field on a view or if the view only has one field.
- For each field, in the Options list, keep the default value of Optional.
- In the Report problem window, click Submit.
- Click Save to save your work.
Hinweis: The number of configuration issues decreases from 6 to 5 after you configure the Report problem view.
- Repeat steps 2-7 and 17-18 to create the remaining fields by using the information from the following table.
Tipp: Save after configuring each view and notice that the number of configuration issues decreases.
Stage
Step
Field Name
Field Type
Options
Create
Identify location
Address
Location
Required
Request updates
Request updates
Boolean
Optional
Requestor Email
Email
Optional
Review
Schedule repair
Due date
Date only
Required
Note to Technical team
Text (paragraph)
Optional
Resolution
Perform repair
Repair notes
Text (paragraph)
Required
2 Add read-only fields to views
-
In the Service Request case type, click the Review repair step to open the property panel on the right.
-
In the property panel, click Configure view to add fields to the view.
-
In the menu on the left, click Fields to display the fields available in your data model.
-
Hover over Note to Technical team and click the Plus icon.
-
From the Options list, select Read-only.
-
Repeat steps 4-5 to add the Repair notes field as a Read-only field.
-
Click Submit.
-
Click Save to save your work.
3 Confirm your work (section not graded)
Hinweis: As you advance through the case, enter any required information and verify that each view displays the desired fields.
-
In the upper right, click Save and run to create a new service request.
-
In the Report problem view, click Continue to advance to the Identify location view.
- In the Identify location view, click Continue to advance to the Request updates view.
- In the Request updates view, click Create to complete the Create process.
- In the To do section of the case, to the right of Schedule repair, click Go to display the Schedule repair view.
- In the Schedule repair view, click Submit to display the Perform repair view.
- In the Perform repair view, click Submit to display the Approval view.
- In the Approval view, click Approve to resolve the case.