Question
Wipro
US
Last activity: 4 Oct 2018 13:54 EDT
copy values from one page list to another page list
Dear Friends
Can somebody list the detailed steps to write in an activity to copy the values from one page list to another pagelist. I am trying page-copy method but it's not working. Please help me as this is urgent
Thanks
**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.
-
Like (0)
Yuriy Nagorny -
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
virtusa
IN
Hi deelep,
In Activity first mention pages & classes
like : test-Code-Pega-List and test.pxResults ->"your class name"
in first step of activity : use page-new method
second step : use page-copy method , in step page of page-copy method keep your page-list name (from where you want to copy the results like sample.pxResults(<CURRENT>)
In page Copy method ,place your new pageList name test.pxResults(<APPEND>)
Thats it . check in clipboard or trace the activity
Thanks
Sudheer
-
kiran kumar G
Pegasystems Inc.
IN
Hi Deelep,
Please find attached a document with screenshots of a simple usecase on Page-Copy.
If you have a more complex requirement please do let me know so that I can change my usecase accordingly.
Thanks,
Gisela
-
Ponnurangam Nagaraj Siddhartha Ratna Prabhat Vemuri Manoj Bangaru BAJARI Bajari Gaddampally chandrashekar Reddy and 1 More
Virtusa Polaris
IN
Hi Gisela_R
Why you used Apply-Data transform instead of that can we use obj-browse?
Blue Rose Technologies GmbH
DE
I would advise you to use For each (or) Append actions present in the data transform rule over an activity rule to copy the pagelist. Also please have a look at the help documentation for data transform rule to know more about this.
Pegasystems Inc.
IN
Use Append and MapTo option in DT if source page list and target page list are of different class
Use Append option in DT if source page list and target page list are of same class
Reference https://pdn.pega.com/introduction-data-transforms/introduction-data-transforms
This avoids use of Activities and it worked for me :)
IN
Simple just follow below steps:
My source page A.pxResults
Destination B.pxResults
Create a step put for each embedded page and give step page as A.pxResults
Step method as page copy
copy into as B.pxResults(<APPEND>)
Thats it
-
Narahari Veera Naga Ch Adegboyega Aderele
Areteans
IN
You can solve it using Data Transform.
Try this.
Assume You have a AvailableItems Page list, and SelectedItems PageList. You need to copy some of the available items to selected items based on a selection.
Create a data transform with the following and apply data transform on the connector.
Define pages&Class tab w.r.t to case type.
. For each page in -- > pyWorkPage.AvailableItems
when .Selected=="true"
Append to --> pyWorkPage.SelectedItems --> an Existing Page --> pyWorkPage.AvailableItems(<CURRENT>)
-
Uzma Ansari Chandra Sekhar Yedla
CollabPartnerz
IN
Hi ,
You can also use For each page in DT to achieve your requirement.