New entity overview
This guide will step through the process of extending the PGP Entity data structure adding a new entity called Item built in a PGP implementation layer.
In the following examples PGPImp is the organization name of the implementation application and DemoPGP is the name of the implementation application. The class PGPImp-DemoPGP-Work inherits (directed) from the PegaPS-Work class.
Creating the persistent datastore
- PGPImp-DemoPGP-Data-Entity-Item
- Properties relevant to the entity
- View(s) for editing, reviewing
- Data Pages for retrieving
- Optional: Case match rule to avoid duplicates, and validation rules for data
Extending the work class properties
In the primary work class of the implementation application, PGPImp-DemoPGP-Work, add a page property of type PGPImp-DemoPGP-Data-Entity-Item to hold Item data during case management processing.
Creating the data management case types
PGPImp-DemoPGP-Work-Entity-Item-Add
PGPImp-DemoPGP-Work-Entity-Item-View
PGPImp-DemoPGP-Work-Entity-Item-Search
PGPImp-DemoPGP-Work-Entity-Item-Update
Enabling for App Studio
Use views and design templates to construct the user interface.
Catalog the new Entity’s rules in Relevant Records so they will appear in the App Studio smart prompts.
Configure whether case types will appear on +Create nav.
Previous topic What are PGP entities? Next topic Development steps