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

Layout Groups which use tabs fail to correctly switch to active

SA-78406

Summary


 

Layout Groups which use tabs fail to correctly switch to active. This occurs when multiple active When conditions are used on a section.


Error Messages


 

Not Applicable 


Steps to Reproduce

  1. Create a simple Layout Group (tab) with three layout tabs – Tab1, Tab2 and Tab3.
  2. Add two buttons on the first tab that runs a data transform. It must set .pyTempText to Tab2 and Tab3, respectively
  3. Configure Active When conditions on layout tabs
  4. Click the buttons at runtime. Tabs switch to only one tab. Nothing switches with the Tab2 button. The Tab3 button works
  5. Remove the Active When condition on Tab3. Tab2 switches correctly


Root Cause



The Layout Group (tab) on Repeating dynamic layout incorrectly sets active tab. However, it generates same data-lg-id for all the tab layouts in a repeating structure.
 

Resolution



Perform the following local-change:
Use Active tab instead of Layout Group.

 

Published May 10, 2019 - 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