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
- Create a simple Layout Group (tab) with three layout tabs – Tab1, Tab2 and Tab3.
- Add two buttons on the first tab that runs a data transform. It must set .pyTempText to Tab2 and Tab3, respectively
- Configure Active When conditions on layout tabs
- Click the buttons at runtime. Tabs switch to only one tab. Nothing switches with the Tab2 button. The Tab3 button works
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.