Skip to main content

Table of Contents

Creating an association

Define a relationship between two classes by creating an association.

  1. In Dev Studio, click Create Data Model Association .

  2. In the Label field, enter a description of this association.

  3. In the Identifier field, enter a short but meaningful prefix for each association that describes the relationship between the classes. Association names are used as a prefix to property names in the Report Viewer and the report definition rule form.

    Do not use a prefix that is an SQL reserved word, such as SELECT, ORDER, or JOIN.
  4. In the Apply to field, select a class to which this association rule applies.

  5. Click Create and open.

  6. Click Save.

Configure how the association links the context class to another class using simple and complex associations.

  • Associations

    Use an association to define a relationship between two classes based on matching values in pairs of properties. Associations are typically used to enable your application to automatically add a join to a report that displays properties from both classes referenced in the association.

  • Configuring a simple association
  • Configuring a complex association

    Configure an advanced association when you cannot use a simple association because your join conditions are too complex.

Did you find this content helpful?

100% found this useful

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