Support Article
Run on client does not work for Dynamic Layout
SA-25116
Summary
A section has a layout with list of records and another dynamic layout to display details of the record based on the selection in the first layout. "Run on client" visible when condition does not work in IE and Firefox but working in Chrome.
To achieve this user has used the condition visible when IntentPage.IntentID != “” and enabled 'Run on Client'. This is working as expected while using Chrome . And it is not working in IE.
Error Messages
Not Applicable
Steps to Reproduce
1. Add 2 dynamic layouts to a section.
2. In one of them add visible when condition with run on client option.
3. Configure the other dynamic layout such that when a change in its field occurs, the above dynamic layout becomes visible / invisible.
4. Run the use case, and test the behaviour.
Root Cause
In very rare cases, the visibility condition might not work in the section's inner div (mostly because different browsers read and render HTML5 differently), that contains the dynamic layout, and therefore, it is a best practise to separate this particular dynamic layout by putting it inside a section, and do a section include of this section in the main section.
Resolution
Configure the following local change:
1. Include the non-working dynamic layout in a section .
2. Run on Client with condition is configured in this dynamic layout .
3. Configure on click action to refresh the same section.
Published July 11, 2016 - 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.