Skip to main content


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

Integrating data

Updated on March 25, 2020

You can integrate your database tables using a data page that calls a report definition. The results appear in a data page (each record is an instance of a data class).

To integrate data into a Pega Customer Service application:

  1. Generate a data class to connect to your external data.

    You can use a connector to a web service or the Database Table Class Mapping wizard for a database.

  2. Create a report definition to retrieve the data.
  3. Create an Implementation class based on the PegaCA-Interface class that you are implementing.
  4. Update the data pages for that class by changing the sourcing of the data page to the report definition that you created.
  5. Create a response data transform for the data page to convert the data class fields to the interface class fields.
  6. Repeat this process to populate all of the data pages.

Data integration model

Here is an example of the process that you follow to load account data from an external database for an application named MyApp.

  1. Use the Database Table Class Mapping wizard to generate a data class named MyApp-Data- Account that accesses the external database table with account information.
  2. Create a report definition named GetAccount ByLastName that returns a list of accounts where the last name is matched with a value entered in the UI.
  3. Create an implementation class by saving PegaCA -Interface-Account and name that class as MyApp-Int-Account.
  4. Update the MyApp-Int-Account data pages (for example, D_Account_Details) to use the report definition that you created.
  5. Create a response data transform in the MyApp-Int-Account class to map the Interface and Data classes.
Note: Pega applications include data types that need to be configured to point to a site's data. You must configure these data types to integrate the site's data source into the application. To configure the data types, select ConfigureData ModelView external data entities. For more information, see Viewing external data entities.

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