Skip to main content


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

Creating your customer class

Updated on August 3, 2022

To support loading customer data, create a customer class that extends the base customer class and has as its only key the property that you identified in Defining the customer class. The default customer class key is CustomerID.

Pega Customer Decision Hub Implementation Guide
  1. In the Dev Studio header search text field, enter PegaMKT-Data-Customer. From the results, select the PegaMKT-Data-Customer class.
  2. Click Save as.
  3. Enter the name for the new customer class, and then click Create and open.
    For example: MyCo-Data-Customer
  4. In the Keys section, ensure that only the correct key property is listed.
    The default customer class key is CustomerID.
  5. In the Class inheritance section, select the Find by name first (Pattern) check box, and then as the parent class, enter PegaMKT-Data-Customer.
  6. On the External Mapping tab of the class rule, specify the properties available on the customer record and their backing columns in the customer table. Ensure that these mappings satisfy the following guidelines:
    • The column name does not exceed 27 characters
    • The table contains no empty rows
  7. Click Save.

    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