How to pass parameters(envelope,PF and r ID
) within iframe
while returning URL in embedded docusigning? If I enter the POWERFORM
link on browser I'm returning URL with the parameters (envelope,PF and r ID
) but if I run code within iframe
I'm unable to get the parameters. Please do assist me about this issue.
问题:
回答1:
You are opening Powerform inside an IFrame, so the scope of the opened URL is inside the IFrame only and DocuSign cannot do anything to redirect the browser to come out of the IFrame. You have write a code on your end to capture the redirect URL and break the flow out of IFrame, you can find a similar query here. Normally DocuSign does not recommend using IFrame for Signing, also to capture the data like envelopeId, r Id etc, it is better to configure DocuSign Connect
with a listener on your side. Using url redirect is a fragile solution as user might close the browser (or browser hangs/network issue) and you might lose the data. Whereas with DS Connect, DocuSign will publish the event to your listener and you will be able to capture all the required data in your listener.
回答2:
<script>
function myFunction()
{
var x = document.getElementById("form1").action;
document.getElementById("demo").innerHTML = x;
}
</script>
This thing works for displaying the parameters.
回答3:
window.parent.window.location.href = 'Parent URL'
works to break out of an iframe and load the parent page.