Skip to main content


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

Implementing dynamic class referencing

Updated on August 21, 2020

You can configure Product Catalog for Communications to retrieve product class information at run time to select the correct flow and class names. You do this by implementing dynamic class referencing by using declarative pages and decision tables.

Before you begin:
Note: For demonstration purposes, in the following steps, the name of the implementation layer application is UPlusPCF and the organization name is UPlus.
  1. Create a new data class for the UPlus implementation layer application that directly inherits from PegaComm-FW-PCFW-Data-AppExtension.

    1. In the Data Types menu, click Add data type.

    2. In the Label field, enter AppExtension.

    3. Expand the Advanced section. In the Parent class field, enter Uplus-UplusPCF-Data, and set the Identifier to UPlus-UPlusPCF-Data-AppExtension.

    4. Click Submit.

    5. Open the class definition and change the direct inheritance class to PegaComm-FW-PCFW-Data-AppExtension.

  2. Copy the AppExtension data transform rule from the PegaComm-FW-PCFW-Data-AppExtension class to the UPlus-UPlusPCF-Data-AppExtension class. See Data Transforms.

  3. Open Class Uplus-UplusPCF-Work definition rule and change the direct inheritance class to PegaComm-FW-PCFW-Work.

  4. Copy the DetermineAppExtensionClass decision table rule from the PegaComm-FW-PCFW-Data-AppExtension class to the UPlus-UPlusPCF-Data-AppExtension class.

  5. Open the DetermineAppExtensionClass decision table rule in the UPlus application ruleset. On the Table tab, change the Organization to UPlus and update the return value to UPlus-UPlusPCF-Data-AppExtension.

  6. Copy the Load_AppExtension rule to the UPlus application ruleset.

  7. Open the Load_AppExtension rule from the UPlus ruleset. Go to the Pages and Classes tab and update the tempAppExtension class with UPlus-UPlusPCF-Data-AppExtension.

  8. In the AppExtension data transform rule, on the Definition tab, set the properties for the dynamic class referencing functionality to that of the UPlusPCF implementation layer application class names, work queues, and so on.

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