Support Article

Unable to refresh CPMHeader section using on click event



User is not able to refresh other section rule i.e.CPMPhoneNumber  by clicking on a link in the interaction verification screen.

Error Messages

No error message

Steps to Reproduce

  1. Launch the interaction portal .
  2. Initiate Interaction case (I-case)
  3. Click on the link which is present in the verification screen that is configured with refreshing Other section i.e. .CPMPhoneNumber.
  4. The above mentioned section does not refresh.

Root Cause

The verification screen in which the link is present is in an iframe.

The section i.e.CPMPhoneNumber which is to be refreshed is outside the Iframe. So, when on click of the link when the section is refreshed, it is not refreshing because it is outside the iframe.


Below is the local change provided:

1. Run Script action configured on click of the link
2. Below is the script written in userworkform rule to refresh the section rule 
    function RefreshPhoneNumber() {
          var sectionNode = parent.pega.u.d.getSectionByName("CPMPhoneNumber", "", "");
          if (sectionNode)           
                 parent.pega.u.d.reloadSection(sectionNode, '', '', false, false, '-1', false);


Published October 20, 2016 - Updated October 26, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.