Adding fields while creating cases in DX API v1
Define the initial fields that users see when they create new cases in your Pega Digital Experience (DX) API-based application by editing the appropriate harness in Pega Platform. For example, you can specify that new loan cases include fields that capture account details.
In the New harness that applies to
new case forms, the controls and sections determine the starting fields for cases in
your external application.
Result: The controls that you added to the section are now the starting fields in any new
case.
- Expand the User Interface category, and then click Harness.
- Search for and open the New harness that applies to the
Work- class.See the following figure for reference:
The harness that contains sections with starting fields - In the harness, click the section to which you want to add fields, and then click the View properties icon.
- In the Panel properties dialog box, next to the section name, click the Open icon.
- On the section form, on the Design tab, add the fields
that you require.
Note: You can retrieve the list of available starting fields by using the GET /casetypes/{ID}
endpoint.For example: For a new loan case, in the Structural list, drag a dynamic layout to the section, and then add fields such as Text input and Currency to capture the account details of your customer. - Save the section.
Previous topic Using DX API v1 for case processing Next topic Attachment management with DX API