As per my understanding if any rule which is present in Data class and calling or using in work class will be termed as a wrapper. But confused with the configuration. Do we need to just update the class in Pages and Classes Tab?

I was trying to call an Embed section of data class in the section of work class, whenever I am creating the case, properties are not displaying/reflecting on the form. Initializing the property in the DT didn't help.

Created the new section in the work class and replaced it at Embed Section which worked as expected.

Can anyone please make me understand how to reuse the rules technically of Data class

Please share the suggestion for a better understanding.

    11 days later

    IMHO relationship between a data class and work class is best explained using composition. It is "HAS-A" relationship. What that implies is you should have a page property(or page list) which refers the data class inside the work class. Now you try to embed a section ;there you get an option to use page reference.Provide the page property you have defined and change the class to appropriate data class. On the drop downs now the section created in data class will be available for selection. One more additional thing you need to do ; if a section is displayed using a page reference it is mandatory that at run time the page should exist in clip board. So please ensure your logic in that context creates the page in clipboard for rendering the section from data class

    Write a Reply...

    -An Initiative Of OneStopPega- Love our work? Support Us🖤