Question
Bank of America
IN
Last activity: 14 Dec 2018 6:17 EST
How to append a page to a pyWorkpage
Hai
How to append a page to a pyWorkpage. Am not able to add a page to a pyWorkpage. "AppendTopagelist" at the baseclass in pega is used only to the add the page list.
Please help me to sort this out guys.
Regards,
Lavanya
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Areteans
AU
Hi Lavanya,
If you are using data transform, update page or directly set can be used.
If it is activity, property set can be used.
Thanks,
Divya Sri Padarthy
Bank of America
IN
Hi Divya,
Thank you for the reply.No am not using a data transform or activity. wanted to append a page to pyWorkpage of an work object.
Previously i have added pagelist by running appendtopagelist activity.
Regards
Lavanya
Pegasystems Inc.
PL
You can write your own activity/data transform and call it similarly to appendtopagelist.
This activity could simply use property-set to set the value(page value) on pyWorkPage
TechMahindra
IN
Hi Lavanya,
Create a new Page Property for the pyWorkPage class. Ex. pyWorkPage in Amazon-FW-Work. Create Customer as Pege property under this Class. Customer can refer to Amazon-Data-Customer class.
In the activity Property-Set try setting pyWorkPage.Customer as step page and Set Name as XXXX.
This will create a Customer Page under pyWorkPage.
Pegasystems Inc.
IN
Create a page type property in the corresponding work class and then use it like "pyWorkPage.XYZ"
Where XYZ is the created page
-
Animesh Patnaik
Cognizant
IN
Hi,
Directly set a property to the new page by pyWorkPage.NewPage.RandomProperty in a data tranform or activity .Later if you see in a clipboard it will append the page with RandomProperty value in it.
You can do only using data transform or activity.
Hope dis helps :)
-
AMRUTH JOKA Nizam Mohammed
Bank of America
IN
Hi All,
Thank you so much for the response. I have done this with property-set inside an activity. Used the activity in Execute activity of pyWorkpage of particular instance(sub page needs to be added under pyWokpage of the instance).
Thanks again for all the suggestions.
Regards,
Lavanya