Calling a section from a Class branch that is not in the inheritance path
I a have a class ABCD which has two (child) branches AB and CD. In the AB branch, I have a child class ABX. In this child class ABX, I have section SectionY. This SectionY includes other sections that have been defined in class ABX and AB.
My requirement is as follows. I need to embed/call a section (SectionP) that has been defined in class CD in the SectionY that has been defined in class ABX. (and hence SectionY and SectionP are not related via inheritance).
To accomplish this, I drag the required section from the Class Explorer Menu (SectionP) onto my SectionY. At the point PEGA gives me a pop up (attached) saying
Pick or add Page and Class
Your property SectionP is not part of class ABCD-AB-ABX and asks me to add the pageName of the Class of SectionP.
(not sure why PEGA uses the word 'property' for the section I am trying to embed)
After adding the pageName 'CDPage', I am able to save and run it. But SectionP is not available on SectionY.
I a have a class ABCD which has two (child) branches AB and CD. In the AB branch, I have a child class ABX. In this child class ABX, I have section SectionY. This SectionY includes other sections that have been defined in class ABX and AB.
My requirement is as follows. I need to embed/call a section (SectionP) that has been defined in class CD in the SectionY that has been defined in class ABX. (and hence SectionY and SectionP are not related via inheritance).
To accomplish this, I drag the required section from the Class Explorer Menu (SectionP) onto my SectionY. At the point PEGA gives me a pop up (attached) saying
Pick or add Page and Class
Your property SectionP is not part of class ABCD-AB-ABX and asks me to add the pageName of the Class of SectionP.
(not sure why PEGA uses the word 'property' for the section I am trying to embed)
After adding the pageName 'CDPage', I am able to save and run it. But SectionP is not available on SectionY.
I checked the clipboard and am unable to find the pageName 'CDPage' which is probably why the SectionP is not visible inside SectionY.
I have checked the SectionInclude properties and the PageContext property is set to use the ClipBoard.
What am I doing wrong?
***Updated by moderator: Lochan to update Categories***