I am displaying the non pega external application in iFrame through non-auto generated section included in harness. Launching the harness through button click in dynamic tab on application portal. Once submitted the data on external application in iFrame, it redirects to another page. The requirement here is to close the dynamic tab once iFrame is redirecting to another web page.
Have you tried top.window.close()" in the script action on click event? Also, have you tried with pega.u.d.doClose? For the latter, configure onClick event on the button and Add RunScript as the action. In the runscript just add "pega.u.d.doClose".
We need to close dynamic tab generated in pega application portal through non pega application portal which is launched inside iFrame. Once use click finish button inside that external application then dynamic tab inside pega application portal should be closed.
We don't have control on external application buttons but we can provide redirect url once finish is clicked there.
Is there any way we can redirect to any pega harness or section which closes on load?