Posted: 23 May 2020 7:14 EDT Last activity: 25 May 2020 7:49 EDT
Show selected row values of table in next screen
I am new to Pega.I am populating table layout from Clipboard (pxResults). When I select one record from the table layout and click on submit button I want to show the selected row data inside a dynamic layout in the next screen. Can someone please help me identifying how to achieve this.
I have noticed that the pySelected value is updating to true when I select the row.
***Edited by Moderator: Pallavi to update platform capability tags***
In the post-processing Data Transform, you can get the index of the selected row by using the IndexInPageList function, and copy that Pagelist(Index) to the new page and use this page to show the details. You can do a section include and give the source as the new page.
Else you can use same table layout and mention the row visibility as .pySelected=="true".
Hi Kanap Thanks for the reply. I am pretty new to Pega so not able to understand exactly what you are trying to convey.
What I feel is I have to write a Data Transform in the outward connector of assignment (in the set properties) and copy the selected list to a new page and show the new page in the next screen. Please correct if I am wrong.
I have created a Data transform but getting error while doing Update Page. Please see the attached screens.