Creating your customer class
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.
- In the Dev Studio header search text field, enter PegaMKT-Data-Customer. From the results, select the PegaMKT-Data-Customer class.
- In the Class inheritance section, select the Find by name first (Pattern) check box, and then as the parent class, enter PegaMKT-Data-Customer.
- Click Save as.
- Enter the name for the new customer class, and then click Create and
For example: MyCo-Data-Customer
- In the Keys section, ensure that only the correct key property
is listed. The default customer class key is CustomerID.
- Click Save.
Previous topic Creating a custom data model Next topic Mapping a customer class to a database table