Support Article
Visiting last tab in dynamic layout is refreshing the clipboard
SA-34287
Summary
When a user has a dynamic container with three fixed tabs, toggling between the tabs causes a refresh of the content. In first tab create a worklist which has at least one column on which you can sort.. The third tab is designed to be populated on a deferred load event . Sort on one column in the worklist present in first tab. then toggle to last tab and back to first tab. The clipboard content for the first tab is showing as not sorted.
Error Messages
Not Applicable
Steps to Reproduce
- At runtime open the portal.
- Sort on one of the columns in the worklist present in first tab.
- Go to last tab and come back to first tab.
Root Cause
In TabGroup , if there is a deferred load configuration on one of the tabs the on active event of that tab causes a reload section that loads the markup for previous tabs as well if they contain dynamic layouts, but only replaces reponsetext for only the current Tab. On defer load, pulls markup for only Dynamic Layouts and not for section includes of other tabs. The above described behavior explains how the scenario of inconsistent rows in the clipboard and UI occurs.
Resolution
Perform the following local-change:
Instead of including a dynamic layout and then in that layout including a section, it is advised to directly include a section as a tab in tabgroup. This corrects the above scenario.
Published March 7, 2017 - 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.