Define fields in data objects intuitively (8.5)
Accelerate your application development and increase reusability across your application with enhancements that are related to adding fields to views and data models. For greater clarity and consistency of the authoring experience, you can now define fields for views, the case type data model, and the application data model in the same way, in App Studio and Dev Studio. Instead of combining two methods of adding fields inline and using a dialog box, you now only use a single dialog box to add fields.
Additionally, to facilitate the reuse of data across your application, a new field type, data relationship, replaces field groups, field group lists, and data references. When you create a data relationship, you define a connection between a data object and another data object or a case type. As a result, you can reuse all the fields that are available in the related data object or case type. For example, for the Insurance claim case type, you can create a data relationship between the Vehicle data object, and the Vehicle make data object that contains a picklist for selecting a vehicle model. Such data relationships save you time because you avoid creating an identical picklist for every place where you want to use the list of vehicle makes. You also create an application that is easier to maintain because, when you update fields in a case type or a data object (such as the Vehicle make picklist), the change automatically occurs in all the related data objects.
When you upgrade to Pega 8.5, your system automatically converts your field groups, field group lists, and data references to data relationships.
The following video shows how to create a data relationship:
To enhance your understanding of relationships between data objects, the case type data model now displays all the fields by default. For data objects that are referenced from built-on applications, you can conveniently see which application layer contains the object, as in the following example:
For more information, see Adding data relationships to fields and data models.