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

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

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