Support Article
PegaE_onConfirm event in mashup is not getting triggered
SA-40238
Summary
User has configured the PegaE_onConfirm event for Pega Mashup gadget, however that event is not triggered as expected at runtime.
Error Messages
Not Applicable
Steps to Reproduce
Configure Mashup gadget with PegaE_onConfirm event.
Root Cause
A software use or operation error :
At runtime and iFrame element is added under the gadget DIV element. The iFrame element contains the PRPC content.
In order for PegaE_OnLoad and PegaE_OnConfirm events to work properly the PRPC iFrame must be able to communicate to the top level application were PegaInternetApplicationComposer.js resides.
Resolution
Perform the following local-change:
User has implemented the older approach to implement the Pega Mashup, requested user to implement the newer approach.
Now the OnConfirm event is trigger as expected.
Older Approach :
Newer Approach:
Published September 22, 2017 - 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.