Cannot add a section to a layout in the work class
I have defined a class called "ContactDetails" in the data class. In there I have added a Section that contains First Name and Last Name. When I try to add this section in the layout of another section located in the Work class, this section does not show in preview or run.
I am not sure what I am doing wrong? I am trying to reuse this section in multiple sections of my work class.
I am using Pega 7.2.2
Any help will be much appreciated.
***Updated by moderator: Lochan to update Categories***
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
This issue is because the page you are using “.EmployeeDetails” might not exist on the clipboard which results ending in the reported issue.
So to resolve that,After following all the mentioned steps, create a datatrasnform in the work class with the name as "pyDefault" and initialize any property(with null value) of the data class from which the section is being used.
Please check the attached word doc for complete understanding and my usecase.
Do let me know if this helps you or if you are looking for some thing else.