Question
TCS
IN
Last activity: 22 Sep 2017 4:59 EDT
Refer a Section from different class using "Section Include"
How to refer a section which is in different class in Pega 7.
In pega 6, we will use using page or we will specify the class name and provide the section name in the class.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
IN
drag the section using regular section include using clipboard page, outside dynamic layout...
Pegasystems Inc.
IN
TCS
IN
Pegasystems Inc.
IN
I think the issues here is the container. I am assuming you are trying to drag a section in a cell within grid layout ?
If you try to include a section in dynamic layout, you will get that option. Can you confirm where are you trying to include this section ?
Pegasystems Inc.
IN
Just creating a wrapper section should still resolve the issue. Create a wrapper section at same class level and from that section do a section include using clipboard page.
Let us know if this solves your issue.
TCS
IN
Yes. As you said i am using the section inside a Grid layout. Interesting thing about this is, the section i am about to place there is not from the PageList of the Grid. But The sections that i can add there should be from the parent section and not the pagelist class.
What is a wrapper section? How do i create one? Can you please help me with that. Never tried that before.
Pegasystems Inc.
IN
Wrapper section in this context will be nothing but a plain section including the section you want.
E.x. If you were trying to include a section Section1 with Using page Page1
You will create a new section with any name like WrapperSection1 in the same class as grid row class.
In WrapperSection1 use dynamic layout and section include your original section Section 1 using clipboard page Page1.
Now use the WrapperSection1 inside grid column directly.
Let us know if this helps
-
Ashok Kumar Rajana
Incessant Technologies
IN
Hi, I am also trying to add a section(which is in work class) to a section in Data-portal class.
I am using use clipboard page option, I am getting no error but the screen is not getting loaded. I mean the fields are not appearing.
Please suggest how to proceed.
thanks
Cognizant Technology Solutions Private Limited
IN
Hi,
If the page referred is present in the clipboard then it will display all the fields in run time.