Question
TCS
IN
Last activity: 19 Dec 2019 8:29 EST
Retain repeating grid value after screen is navigated away
I have a repeating grid which is sourced by a pagelist. A button on the selected row does some processing and result (which is the work object id) is populated in a cell. The work object id is a link which opens the object. When I return back to the grid, I want the work object id retained in the grid. Please suggest on how to achieve this. The screenshots of first time grid display and grid after button is clicked is attached.
Pega version - 7.2
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Bits in Glass
IN
On button click, you are processing something and creating the case.
Do you want to refresh the screen or is it something else?
TCS
IN
Hi Rakesh,
On button click case is created with a link. If I click on this link, the work object is opened. When I come back to the first screen (grid display) the case ID is not retained. I want to retain this ID even after navigating away from screen.
Pegasystems Inc.
US
Did you try an explicit save action the grid and/or the WO itself?
TCS
IN
Hi Rett,
Are you referring to Save action of the button action? I tried this, but strangely the portal runs into exception. I also tried doing Set Value but that doesnot retain the values while navigating away.
Pegasystems Inc.
US
Hi,
While it's not exactly the same as what you're attempting, the below post has some information that could be helpful:
https://collaborate.pega.com/question/how-retain-selected-row-repeating-grid-layout-page-load
Hope this helps!
-Kurt
BPM Company
NL
Does your pagelist contain values for the columns - MarketCase, MarketStatus?
If yes, you must update your pagelist during action defined on button click.
TCS
IN
Hi,
I have tried updating the pagelist during button click but the case id is now being set to each row of grid, instead of the selected row. This could be because of the way I'm trying to set. Please guide me on setting the Pagelist(<CURRENT>).ID without using loop.
TCS
IN
Is there any way to set the value only for the selected row? I'm not using checkbox here, so not setting pySelected.