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

Refresh section with DynamicSelect and Onchange throws an error

SA-10091

Summary



A section which has a field inside smart layout with DynamicSelect, OnChange in Cell properties to Refresh Section is configured. But at run time it does not refresh the section and a javascript error message is generated.

Error Messages



SCRIPT5009: 'strReloadSectionUrl' is undefined
File: harness_scripts.js, Line: 1, Column: 14359


Steps to Reproduce



1. Create a SECTION with two dynamic layouts.
2. Each layout contains Dynamic Select with OnChange and Refresh behaviour.
3. At runtime observe the JavaScript error.

Root Cause



The same section was working fine from the developer portal using the “Preview” functionality. The root cause is a custom non-auto-generated section added to the flow action and which references the out-of-the-box fragment called “harness_scripts.js”.

Resolution



Change the custom non-auto-generated section to a fully auto generated section which does not reference the JavaScript files manually.

Published June 12, 2015 - 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