@@ -54,7 +54,7 @@ public static (string, string) SendEnvelopeWithFocusedView(
5454 string envelopeId = results . EnvelopeId ;
5555 //ds-snippet-end:eSign44Step3
5656
57- //ds-snippet-start:eSign44Step5
57+ //ds-snippet-start:eSign44Step6
5858 RecipientViewRequest viewRequest = MakeRecipientViewRequest ( signerEmail , signerName , returnUrl , signerClientId , pingUrl ) ;
5959
6060 // call the CreateRecipientView API
@@ -67,7 +67,7 @@ public static (string, string) SendEnvelopeWithFocusedView(
6767
6868 // returning both the envelopeId as well as the url to be used for embedded signing
6969 return ( envelopeId , redirectUrl ) ;
70- //ds-snippet-end:eSign44Step5
70+ //ds-snippet-end:eSign44Step6
7171 }
7272
7373 //ds-snippet-start:eSign44Step4
@@ -114,6 +114,11 @@ public static RecipientViewRequest MakeRecipientViewRequest(string signerEmail,
114114 viewRequest . PingUrl = pingUrl ; // optional setting
115115 }
116116
117+ // The FrameAncestors should include the demo or prod link
118+ // for DocuSign, and the site where the document should be embedded.
119+ // The site must have a valid SSL protocol for the embed to work.
120+ // MessageOrigins ncludes the demo or prod link and only
121+ // takes a single string.
117122 viewRequest . FrameAncestors = new List < string > { "https://localhost:44333" , "https://apps-d.docusign.com" } ;
118123 viewRequest . MessageOrigins = new List < string > { "https://apps-d.docusign.com" } ;
119124
0 commit comments