Skip to main content
LinkedIn
Copied!

Table of Contents

Configuring a single-record reference field

Applicable to Cosmos React applications

Simplify the structure of your application by reusing data in different contexts. Case and data reference fields help you efficiently reuse resources without detailed knowledge about how the system stores data.

For example, in a mortgage application, a Get appraisal case reference can fetch data about the house appraisal if the user enters the ID of the related case.

Add a single-record data or case reference field to a view. For more information, see Creating fields for capturing data and Configuring column views.
  1. In the navigation pane of App Studio, click Case types, and then click the case type that you want to open.

  2. On the User interface tab, click the column-based view that you want to edit.

  3. In the Edit view section, click the Drill in icon next to the case or data reference field that you want to edit.

  4. In the Edit field pane, in the Mode list, define whether you want to make the field read-only.

    Read-only fields support fewer configuration options
  5. In the Display as list, choose the control that you want to use with the field.

    Select Autocomplete.
  6. In the Which field to show list, select the name of the field that you want to display in the control.

    Select Case ID to source appraisal data by case number.
  7. Optional:

    To display additional fields from the case, in the Show details (optional) section, add and configure the My details view.

    Create the following configuration:
    1. Click Add, and then click View My details .
    2. Click the Drill in icon.
    3. In the Edit view: My details pane, click Edit, and set the template to Details (one column).
    4. In the View label field, enter Details.
    5. In the Region A section, add the Value and Work status fields.
    For more information about configuring fields, see Configuring column views.

In this scenario, when you select a case from the Get appraisal autocomplete list, the Details section populates with information from the appraisal case.

Sample reference field configuration
The case reference field is an autocomplete field with an attached view
                        that includes the value and work status fields.
Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us