Support Article
Header section does not refresh based on Visibility condition
SA-40337
Summary
Header section does not refresh according to the Visibility When condition.
Error Messages
Not Applicable
Steps to Reproduce
- Create a section with a Visibility When condition
- Configure a button in the section to refresh the header section.
- Click the button. The header is not refreshed.
Root Cause
A defect in Pegasystems code or rules. In this scenario, the Refresh-Other section was not working because the Header and main work area were under two different iFrames.
Resolution
Perform the following local-change to explicitly call the Header section using the below script:
- Add the code snippet in the UserWorkForm:
<script>
function reloadheader()
{
parent.pega.u.d.refreshSection("CPMInteractionPortalHeaderTop"," "," ");
}
</script> - Call the function in the Run Script as reloadheader.

Published February 10, 2018 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.