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

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

  1. Create a section with a Visibility When condition
  2. Configure a button in the section to refresh the header section.
  3. 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:
  1. Add the code snippet in the UserWorkForm:

    <script>
    function reloadheader()
    {
    parent.pega.u.d.refreshSection("CPMInteractionPortalHeaderTop"," "," ");
    }
    </script>

  2. Call the function in the Run Script as reloadheader.



Published February 10, 2018 - Updated December 2, 2021

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