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.
Create a 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.
Expand the Advanced section. In the Parent class field, enter Uplus-UplusPCF-Data, and set the Identifier to UPlus-UPlusPCF-Data-AppExtension.
Click Submit.
Open the class definition and change the direct inheritance class to PegaComm-FW-PCFW-Data-AppExtension.
Copy the AppExtension data transform rule from the PegaComm-FW-PCFW-Data-AppExtension class to the UPlus-UPlusPCF-Data-AppExtension class. See Data Transforms.
Open Class Uplus-UplusPCF-Work definition rule and change the direct inheritance class to PegaComm-FW-PCFW-Work.
Copy the DetermineAppExtensionClass decision table rule from the PegaComm-FW-PCFW-Data-AppExtension class to the UPlus-UPlusPCF-Data-AppExtension class.
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.
Copy the Load_AppExtension rule to the UPlus application ruleset.
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.
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.
Previous topic Extending the application Next topic Changing the portal header logo