Implementing dynamic class referencing
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.
Pega Foundation for Communications
Implementation Guide
- Createa new data class for the UPlus implementation layer application that directly
inherits from
PegaComm-FW-PCFW-Data-AppExtension
.- In the Data Types menu, click Add data type.
- In the Label field, enter
AppExtension
. - Expandthe Advancedsection. In the Parent class field, enter
Uplus-UplusPCF-Data
,and set the Identifier toUPlus-UPlusPCF-Data-AppExtension
. - ClickSubmit.
- Open the class definition and change the direct inheritance class to
PegaComm-FW-PCFW-Data-AppExtension
.
- Copy the
AppExtension
datatransform rule from thePegaComm-FW-PCFW-Data-AppExtension
class to theUPlus-UPlusPCF-Data-AppExtension
class. See Data Transforms. - Copy the
Load_AppExtension
Data transform rule to the UPlus application ruleset. - Open the
Load_AppExtension
rulefrom the UPlus ruleset. Go to the Pagesand Classes tab and update thetempAppExtension
class withUPlus-UPlusPCF-Data-AppExtension
. - In the
AppExtension
datatransform rule, on the Definitiontab, set the properties for the dynamic class referencing functionality to that of the UPlusPCF implementation layer application class names, work queues, and so on. - Open PCF Implementation layer class group (UPlus-UPlusPCF-Work) and update its direct inheritance class to Catalog FW class group i.e PegaComm-FW-PCFW-Work.
Previous topic Implementing Product Catalog for Communications Next topic Changing the portal header logo