
Challenge
Datenobjekt erstellen
3 Aufgaben
10 Min.
Szenario
Beim Übermitteln einer Serviceanfrage über die MyTown311-Anwendung geben die Bürger Informationen zum Problem im Feld „Description“ ein. Der Bürgermeister und die Koordinationsstelle für kommunale Dienstleistungen wollen, dass die Bürger detailliertere Informationen über angeforderte Reparaturen eintragen können. Erstellen Sie einen Datentyp für den Anfrage-Typ mit Feldern für „Type“ und „Description“.
In der folgenden Tabelle finden Sie die Anmeldedaten, die Sie zur Durchführung der Challenge benötigen.
Rolle | Benutzername | Kennwort |
---|---|---|
Application Developer | author@mytown | pega123! |
Hinweis: Pega bezeichnet Datentypen in App Studio jetzt als Datenobjekte. Das Challenge-Walkthrough-Video zeigt Datentypen, die Konfigurationsschritte bleiben jedoch identisch.
Challenge-Schritte
Genaue Übungsschritte
1 Create a Request type data object
- In the App Studio navigation pane, click Data > Data objects and integrations to display a list of existing data objects in the application.
- To the right, click New to create a new data object.
- In the Data object name field, enter Request type.
- Click Submit to create and display the new Request type data object.
- On the Data model tab, click + Add field to create a new field for the Request type data object that is displayed under Globally unique ID.
- In the Name field, enter Type to name the field.
- To the right of the Name field, verify that the Type drop-down defaults to Text (single line).
- Click + Add field to create a new field.
- In the Name field, enter Description to name the field.
- From the Type drop-down, select Text (paragraph).
- In the upper right, click Save to commit the fields to the data type.
2 Add the Request type data object to the Report problem step
- In the App Studio navigation pane, click Case types > Service Request to display the Service Request case life cycle.
- Click the Report problem step.
- From the configuration pane on the right, click Configure view to display the Report problem view window.
- To the right of the Description field, click the Trash can icon.
- Click + Add field to add an empty field row.
- In the empty field, enter Request.
- From the Type drop-down, select Field group to display a drop-down list to the right of the Options field.
- From the new drop-down list, select Request type to reference the Request type data object.
- In the lower right, click Submit to dismiss the Report problem view window.
- In the upper-right corner of the Service Request case type, click Save to complete the configurations in the case type.
3 Confirm your work
- In the upper-right corner of the Service Request case type, click Save and run to run a new Service Request case.
- In the Create view, complete any required fields before advancing the case.
- In the Report problem step, verify the Type and Description fields are displayed.
In den folgenden Missions verfügbar:
Wenn bei Ihrer Schulung Probleme auftreten, lesen Sie bitte die
Pega Academy Support FAQs .
Möchten Sie uns dabei helfen, diesen Inhalt zu verbessern?