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 Other Section" action is not working in IE browser

SA-105877

Summary



The 'Refresh Other Section' action in a Modal Submit does not work in the Internet Explorer browser.


Error Messages



Not Applicable


Steps to Reproduce

  1. In Interaction portal header, configure a button to launch a modal window.
  2. Configure a 'Refresh Other Section' on the Submit button.
  3. Pass Customer Service Interaction portal work area section name. If the Submit Workarea section does not refresh, only then is the Submit action triggered. 


Root Cause



A third-party product issue.
Internet Explorer handles the Request calls differently. After a request call is sent and if the call is not completed, another request call is not triggered in an Async manner. 
A section present in the Interaction portal's workarea harness, from the Interaction portal header, is refreshed, Immediately after submitting a modal action from the portal header, Refresh Other Section is invoked, which the Internet Explorer browser fails to trigger.


Resolution



Perform the following local-change: 
  1. Paste the below script and style in the UserWorkForm.

    <style>.interactiondriverrefresh{display:none !important;}</style>
    <script>

      function triggerRefresh(){
        var iframes =  Array.prototype.slice.call(document.querySelectorAll("iframe"), 0).forEach(function clickbutton(item,index){
        console.log("Refreshing harness of "+ item.id);
        var btnwrapper = item.contentDocument.querySelector(".interactiondriverrefresh");
        var btn = $(btnwrapper).find("button")[0];
        if(btn) { btn.click(); } 
          btnwrapper= null; btn= null;
      });}

    </script>

     
  2. In the Interaction portal's workarea section, add a button.
  3. In the Presentation tab's Display read/write class, add the interactiondriverrefresh class.
  4. In Action tab, configure the Refresh current harness action 
  5. In Modal Submit action, configure a Run Script and pass the function name as triggerRefresh.

Published April 10, 2020 - 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