Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us