Support Article
Refresh of a section included in top harness fails
Summary
User opens a portal in top harness which has another harness with different sections included. Users refreshes a section which is a part of the top harness from the harness which is embedded in the top harness. However, the refresh does not happen.
Error Messages
Not Applicable
Steps to Reproduce
1. Configure a top harness for the portal
2. Include another harness with sections in the top harness
3. Perform a refresh of a section included in the top harness from one of the sections Root Cause
The section inside the inner harness and the section in the top harness have different iFrames. Reload or Refresh does not happen across different iFrames.
Resolution
Perform the following local-change in the action set inside the inner section Run Script and invoke ReloadTopSection:
Add the below code to the UserWorkForm:
<Script>
function ReloadTopSection()
{
window.top.pega.u.d.refreshSection(' **Top section name** ');
}
</Script>
Published December 19, 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.