General

About yourself
State of Michigan eSignature Administrator

Account


Earned badges

Achievement: Latest Unlocked

Topic Started

Topics

Until recently this worked with 1000 per page but NOW I had to do 250 to get it to work correctly, why?  I tried 500 and it failed just like 1000.

I had API code below that used a PullPageSize of 500 and worked fine, but with the OneSpan updates that returns a null pointer.  I can use 100 without a problem.  

 

Looking to create a transaction (done) and then get a signing URL or start signing process because I need to allow signing in an "iframe" or withing a .NET application wihtout sending the emails ou

C# code that can be used to generate usage reports (code mostly by Duo) and also a downloader tab to download inflight and/or complete transactions and their associated files.  Useful to download a

We use SSO so we don't sending out the invitation for users to activate their accounts.  How can I programmatically activate the accounts using the .NET SDK.  I can determine who's pending from the

Replies Created

Reply to: iFrame in C# forms application

0 votes

Since my application is a Windows forms application I guess instead of the iframe I can just use a browser control.  We use FedRAMP SSO and using the code below I get the transcation created by the URL only takes me to A2.  Can I use a URL for this or because we are SSO with FedRAMP will that not work.

 

URL created to display the transaction that takes me to A2:  https://sandbox-gov.esignlive.com/access?sessionToken=@ViewData[ZDY5M2UwMmEtODhlNC00YzZjLWFjMjEtNWY3NTc2MWYwMTJi]

 

    GlobalVars.CurrentapiKey = GlobalVars.arrUserAPIKey[cbUsers5.SelectedIndex];
            GlobalVars.CurrentapiUrl = GlobalVars.arrURLs[cbEnvironments8.SelectedIndex];
            OssClient oClient = new OssClient(GlobalVars.CurrentapiKey, GlobalVars.CurrentapiUrl);

            FileStream fs = File.OpenRead("C:\\Temp\\Test_Summary.pdf");

            DocumentPackage superDuperPackage = PackageBuilder.NewPackageNamed("Test Package .NET6")
                    .WithSettings(DocumentPackageSettingsBuilder
                        .NewDocumentPackageSettings())
                    .WithSigner(SignerBuilder
                        .NewSignerWithEmail("[email protected]")
                        .WithFirstName("Signer First Name")
                        .WithLastName("Signer Last Name")
                        .WithCustomId("Signer"))
                    .WithSigner(SignerBuilder
                        .NewSignerWithEmail("[email protected]")
                        .WithFirstName("Your First Name")
                        .WithLastName("Your Last Name"))
                    .WithDocument(DocumentBuilder.NewDocumentNamed("sampleAgreement")
                            .FromStream(fs, DocumentType.PDF)
                            .WithSignature(SignatureBuilder
                                    .SignatureFor("[email protected]")
                                    .OnPage(0)
                                    .AtPosition(175, 165))
                            .WithSignature(SignatureBuilder
                                    .SignatureFor("[email protected]")
                                    .OnPage(0)
                                    .AtPosition(550, 165))
                                  )
                    .Build();

            PackageId packageId = oClient.CreatePackageOneStep(superDuperPackage);
            string Senderst = oClient.AuthenticationTokenService.CreateSenderAuthenticationToken(packageId);
            string newURLstr = "https://sandbox-gov.esignlive.com/access?sessionToken=@ViewData[" + Senderst + "]";
            TBBrowser.Url= new Uri(newURLstr);
            Console.WriteLine(newURLstr);
            //newURLstr value was:  https://sandbox-gov.esignlive.com/access?sessionToken=@ViewData[ZDY5M2UwMmEtODhlNC00YzZjLWFjMjEtNWY3NTc2MWYwMTJi]


Reply to: iFrame in C# forms application

0 votes

I updated the code to use the URL below and got the following error

https://signer-sandbox-gov.esignlive.com/access?sessionToken=@ViewData[NWJjOWRiODctMzEzOC00YWMxLWJjZTUtYWVmMDFmOTYxNDdh]

Error displayed:

Unauthorized Access

Your authenication token was incorrect.

 

The transaction is created was:  5xdG_8teu_NI4L20CpNYrIkg6cE=

I do use Subaccounts.  Do I need to do something to set up things for the token to work so the sender can see the transaction and make their final edits.  It's a draft after I create it beacuse I don't send it.


Reply to: iFrame in C# forms application

0 votes

I used the information in the authentication token guide and related calls to generate the URL below

 

URL:  https://sandbox.esignlive.com/auth?senderAuthenticationToken=ZWU5MDcxYWMtNzFkYi00NmE5LThjYmItMjE2ZjZkOGQ2OGMw&target=https://sandbox.esignlive.com/a/transaction/WeK0hB1I9_faQC3XSMplk6ExYw8=/designer

 

I get an error

 

Access Denied

Your authentication token was incorrect.

 

I get it for both transactions in the main account and those in subaccounts.

 

                PackageId packageId = new PackageId("WeK0hB1I9_faQC3XSMplk6ExYw8="); //main account
                string Senderst = oClient.AuthenticationTokenService.CreateSenderAuthenticationToken(packageId);

                //Used to display designer screen
                string newURLstr = "https://sandbox.esignlive.com/auth?senderAuthenticationToken=" + Senderst + "&target=https://sandbox.esignlive.com/a/transaction/" + packageId.ToString() + "/designer";
                TBBrowser.Url = new Uri(newURLstr);
                UpdateStatus("URL:  "+newURLstr);
                UpdateStatus("Displaying Transaction For Editing!");

 

I tried wrong API information and different settings which gave me other errors so I'm fairly sure this is the right environment.

 

Any suggestions?  Do you think our use of Subaccounts is impacting my results?


Reply to: API Attachments Count or Change Options

0 votes

Is there a way to use the .NET interface to access the insertDate or is it just available in JSON?  I couldn't find an obvious way to access the package values for rols->attachmentRequirements via the .NET interface but maybe I just missed it.


Subscriptions

Topics Replies Freshness Views Users

Until recently this worked with 1000 per page but NOW I had to do 250 to get it to work correctly, why?  I tried 500 and it failed just like 1000.

0 23 hours 1 minute ago 5

I had API code below that used a PullPageSize of 500 and worked fine, but with the OneSpan updates that returns a null pointer.  I can use 100 without a problem.  

 

10 2 weeks ago 88
Profile picture for user Duo_Liang

Looking to create a transaction (done) and then get a signing URL or start signing process because I need to allow signing in an "iframe" or withing a .NET application wihtout sending the emails ou

1 4 months 3 weeks ago 23
Profile picture for user Duo_Liang

C# code that can be used to generate usage reports (code mostly by Duo) and also a downloader tab to download inflight and/or complete transactions and their associated files.  Useful to download a

2 6 months 3 weeks ago 31
Profile picture for user Duo_Liang

We use SSO so we don't sending out the invitation for users to activate their accounts.  How can I programmatically activate the accounts using the .NET SDK.  I can determine who's pending from the

1 1 year ago 22
Profile picture for user Duo_Liang

Code Share

This user has not submitted any code shares.

Subscriptions Release Notes

This user is not subscribed to any release notes.