Extending the PGP configurator
You can extend the PGP configurator by adding more items to it.
By default, you can access the following items through the PGP configurator:
- Configuration – manage delegated rules, such as decision tables
- Evaluation criteria – manage all evaluation criteria types and details
- Review checklist – manage all review checklist types and details
In Dev Studio, create a subclass under the Ext-ExpExplorer-Configuration class.
For example, Ext-ExpExplorer-Configuration-NewConfig. For more information about creating classes, see Creating a class.
In the new class, create a field value for the label of new item.
For example, to name the item NewConfiguration, use the following convention: Ext-ExpExplorer-Configuration-NewConfiguration. pyCaption • ExtensionLabel. For more information about creating field values, see Creating a field value.
Save the pyDefault data transform rule of the Pega-Ext class in the new class and set the details for the new item.
For example, add a label and a rank to set the sorting.
To initialize values that the data transform does not include, save the pyInitializeExtension activity in the new class and modify it.
To dynamically show and hide the new item, save the pyShouldExtensionBeLoaded when rule in the new class and modify it.
To perform post-processing activities after results are fetched, save the pyPostProcessExtensions activity in the new class and modify it.