Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Adding associated static data in the Customer Profile Designer

Updated on August 3, 2022

In addition to creating data aggregates, you can also use the Customer Profile Designer to associate static data, such as database tables, with customer contexts. For example, you can associate an investment portfolio table with the Account Owner context.

Caution: The relationship with associated entities can be one-to-one or one-to-many. Pega Customer Decision Hubdoes not support many-to-many relationships.
  1. In Dev Studio, create a Data Set rule for the associated entity. For more information, see Data Set rules - Completing the Create, Save As, or Specialization form.
    Important: Ensure that the type of the data set is Database Table.
  2. In the Pega Customer Decision Hub interaction portal, click DataProfile Data Sources.
  3. Select the data set that you want to associate with a customer context by clicking AddData set.
  4. In the Add data set window, select the data set and click Add.
  5. Open the Customer Profile Designer by clicking DataProfile Designer.
  6. Click Edit.
  7. Next to the context with which you want to associate the data set, click Add associated dataData set and then select the data set from the list.
    Tip: A single data source can only be associated with a single customer context. You cannot associate the same data source with multiple contexts.
  8. Click Save.Result: The data set is now associated with the customer context. You can review the context in the Context Dictionary.
What to do next: For a property on an associated entity to be available as criteria in a segment, it must be added to the External Mappings of the appropriate context class.
  • Previous topic Using accelerators to configure the customer class
  • Next topic Adding stream data aggregates in the Customer Profile Designer

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us