Support Article
When Grid inside Grid, PRPC loses its step page context
SA-6822
Summary
Customer's system needs to handle a list of policies, each containing a list of coverages, each containing a list of discounts (say).
Need is to build a screen that lets the user navigate up/down this tree of information - hence the need for grids inside grids.
After navigating down to the third layer, the repeating grid has the correct level3 step page, but clicking on an action inside a grid row will execute the action using the step-page of the second layer.
Steps to Reproduce
1. Create Case
2.Built screen with 3 layers of data in a drill-down
3.Each layer includes @(Pega-AppDefinition:Utilities).pxGetStepPageReference() to display the page context
4.In the third layer is a link control to bring up a text section in a new overlay
5.It should run in the context of pyWorkPage.Level1(1).Level2(1).Level3(1) but instead runs in pyWorkPage.Level1(1).Level2(1)
Resolution
This issue is resolved by hotfix item HFix-20925
Base reference is computed incorrectly when RDL is dropped inside a repeating structure. Due to this local action is executed in wrong context.
HFix-20925-Return null if RDL row is encountered in getRepeatObject, so that base_ref is calculated from the node where action is invoked.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.