Discussion
Best practices in Portal Creation
Hi Team,
I have gone through the portal creation chapter , where the harness and sections that are being used in the portal rule are created in the Data-portal class.
For example if my class structure is as ORG-DIV-UNIT-DATA and ORG-DIV-UNIT-WORK, I thought that as a best practice we should for creating the rules in the ORG-DIV-UNIT-DATA , ie in the data class specific to application , but not in the Data-portal class.
Could you please clarify what is the best approach , in which class pega recommends to create the portal related rules.whether it is Data-portal or in the data class specific to application .
Hello, per the lesson content:
Portals reference a harness for content. If we are intending to use any of the shipped gadgets from Pega7, the harness that is referenced in the portal rule must be defined in Data-Portal class. Most of the newer gadgets are defined in @baseclass so we can save the harness in the application class layer as well.
Regards,
Tara
Pega Academy Support Team