Question
Services Australia
AU
Last activity: 11 Feb 2020 23:11 EST
How to postmessage using Javascript to third party application from pega case
Hi,
we are trying to postmessage using javascript to third party application (parent window) which opened pega (child window).
when we are triggering postmessage from portal, it is working fine. But when we are triggering the same thing inside a case section it is throwing error
"Filed to execute 'postMessage' on 'DOMWindow' : the target origin provided('----') does not match the recipient window's origin ('---')"
I think pega is not recognizing the origin when we open any frame inside pega after loading the portal. any solution to solve this will be very helpfull.