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

Parameter page not preserved after refreshing section

SA-85925

Summary



In a repeating dynamic layout, when 'Preserve Parameter state on section refresh' and 'Pass current parameter page' are set, the Parameter page is not preserved after refreshing the section in a single layout.


Error Messages



Not Applicable


Steps to Reproduce

  1. Include a repeating layout in a section.
  2. Configure an onClick event to refresh this section.
  3. Include another section in that repeating layout.
  4. Select the 'Preserve Parameter state on section refresh' and 'Pass current parameter page' options.
  5. Add sample text.
  6. In the dynamic layout, add a Visibility condition based on a parameter.
  7. At runtime, set the parameter such that the Visibility condition is true and the sample text is visible in a repeat layout.
  8. Click every repeat item. The sample text disappears since the Refresh parameter is not passed. As a result, the Visibility condition is false.


Root Cause



This behavior is as per Pega product design.


Resolution



Perform either of the following local-changes:

Option 1: Preserve Parameter state on section refresh

When a section (parameterize section) is included and a parameter is passed explicitly in the parent section, the passed parameter is stored at the client side and the same parameter is provided when the included section refresh occurs. Thus, the included parameter section is able to persist the parameter.

Option 2: Pass current parameter page option

This allows the parent section to pass parameters implicitly to the included section (parameterized section) from the current Parameter page. Do not provide parameters explicitly. Allow the parameter for the included section to be read from the current Parameter page.

Published August 15, 2019 - Updated December 2, 2021

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