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

Expand When does not work properly in Collapsible Dynamic Layout

SA-21152

Summary



The Expand When option does not work properly in a collapsible dynamic layout, when called from a repeating dynamic layout.

Once the when condition is true for the Expand When it expands the current row and all the below rows without checking the When condition.



Error Messages



Not applicable.


Steps to Reproduce



1. Create a Link such that onclick, it populates a Pagelist 'A' using an activity. This Pagelist is embedded under a Page 'Temp'. Next, it should call 'Finish Assignment'. 
2. On clicking the link, the flow navigates to next assignment. 
3. On the next screen, include a RDL with a section embed. The RDL's source should be the same Pagelist 'A'. 
4. The next section must have layouts configured should that it has a Condition expression attached to it and a ExpandWhen condition. 
5. In the ExpandWhen, have a condition such that a row from the pagelist meets the condition. 
6. Save and run the use case.


Root Cause



The flag for bIsRDL was not present for Repeating Dynamic Layout and check for Repeating Dynamic Layout not present in HTML helper.

Resolution



Apply HFix-26402

The following rules have been amended as part of the HFix:
  • Harness pzGenerateSimpleLayoutHTML
  • Harness pzGenerateSectionHTMLHelper

Published March 18, 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