Setting the context for your customer class
Use the Context Dictionary to review or update the default contexts, configure a different primary context, or add an additional customer context.
The Context Dictionary identifies the customer entities, the relationships between these entities, and any associated data to be used by Pega Customer Decision Hub for Communications. By default, the primary context is Customer, mapped to the PegaComm-Data-Customer-NBAMCCustomer class, and the prospect context is Prospect, mapped to the PegaComm-Data-Prospect-PMCProspect class.- In the App Studio navigation panel, click .
- Review the primary context.
- Click the Configure icon by the name of a context.
- Review the available properties.
- If you defined a new extended customer class, select it in the Class field.
- Review the associated data. By default, the ProductHoldings data is provided. If required by your organization, change it to the product holdings property defined in your customer class and to the association specified in your customer class.If you defined additional associated data for your base customer class, to enable it, click Add associated data.
- Optional: To add a new customer context, click Add context and specify the
name, customer class, and optional exclusion list. If you defined additional associated
data for your new customer class, click + Add associated data to
enable it.You can use additional customer context to build segments and launch campaigns. Using multiple data contexts allows you to better target your customer engagement efforts at multiple levels.
- Optional: To set your new customer context as the primary Context, click Change
primary and select the context in the Select Primary
Context dialog box.
Caution: Changing the primary context affects Segments and Campaigns which use it. If you have already defined any Segments or Campaigns, recreate them manually after changing the primary context to ensure that they continue working. - Optional: Click the Configure icon by the name of the prospect context. If
you defined a new extended prospect class, select it in the Class
field.For more information about the prospect class, see Configuring the prospect class.
- Optional: Change the context storage in the Context storage section.By default, the data resides in a relational database supported by Pega Platform in the form of a database table. If you plan to use segmentation, all data must be synchronized between the decision datastore and relational tables.
- Click Save.
Previous topic Adding associated customer entities Next topic Extending and updating the CustomerSearchResultGrid section