Docusign return parameters in embedded signing by

2020-08-08 05:07发布

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.

标签: docusignapi
3条回答
Rolldiameter
2楼-- · 2020-08-08 05:24

        <script>
        function myFunction()
        {
        var x = document.getElementById("form1").action;
        document.getElementById("demo").innerHTML = x; 
        }
    </script>

This thing works for displaying the parameters.

查看更多
Ridiculous、
3楼-- · 2020-08-08 05:35

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.

查看更多
不美不萌又怎样
4楼-- · 2020-08-08 05:39

window.parent.window.location.href = 'Parent URL' works to break out of an iframe and load the parent page.

查看更多
登录 后发表回答