Account


Earned badges

Achievement: Latest Unlocked

Topic Started

Topics

I updated from 11.33 using the downloaded SDK, but found the NuGet for 11.35 today, but am having issues resolving the ESLClient class from the NuGet install.     I tried a using for each namespace

I have a form which I'm using document extraction to pull in fields from, and some of the pieces need to be entered at the signing ceremony.   Is it possible to mask some of those fields as they ar

Is there a way to customize the handoverlink Href property at a signer level?  I've only been able to see it at the document package level.  I'd like to redirect based on the signer role, and tryin

As the title asks:   I'm working on an in-person signing flow where all signers will be on the same device, and am embedding the signing ceremony in an iFrame.  For aesthetics and ease of control,

contract is a class with accessible properties that have been populated by this point and is a parameter being passed into the call here.

Replies Created

Reply to: Getting Null Object Ref that I can't pinpoint

0 votes

{"Object reference not set to an instance of an object."}

Silanis.ESL

 at Silanis.ESL.SDK.ApprovalApiClient.AddApproval(PackageId packageId, String documentId, Approval approval)
   at Silanis.ESL.SDK.ApprovalService.AddApproval(DocumentPackage sdkPackage, String documentId, Signature signature)
   at {Code Line of PackageID above}

Also PackageID is a class property, I realized I missed mentioning that above:

public PackageId PackageID { get; set; }


Reply to: Getting Null Object Ref that I can't pinpoint

0 votes

I was looking at the next steps after posting the Exception.  The line # is from the snippet above, but it looks like it's just reporting back the last successful line.  The fun of .net debugging.    That aside, here is the next snippet, and it looks like in the AddApproval piece I need the documentID as it was assigned after the package creation, but am running into issues actually finding how to get that...

if (logic...)

{
                    Signature PropWitnessSig =
                                SignatureBuilder.CaptureFor(LenderEmail)
                                        .WithPositionAnchor
                                            (
                                            TextAnchorBuilder.NewTextAnchor("PropAgentCopyWitnessSig1")
                                            .AtPosition(TextAnchorPosition.TOPRIGHT)
                                            .WithSize(300, 40)
                                            .WithOffset(-10, -20)
                                            )
                                        .EnableEnforceCaptureSignature()
                                        .WithField
                                            (
                                            FieldBuilder.SignatureDate()
                                            .WithPositionAnchor
                                                (
                                                TextAnchorBuilder.NewTextAnchor("PropAgentCopyDate1")
                                                .AtPosition(TextAnchorPosition.TOPLEFT)
                                                .WithSize(100, 20)
                                                )
                                                .WithValue("MM/dd/yyyy HH:mm:ss")
                                            )
                                .Build();
                    
                    Signature PropBorrowerSig =
                                SignatureBuilder.CaptureFor(contract.EmailAddress)
                                        .WithPositionAnchor
                                            (
                                            TextAnchorBuilder.NewTextAnchor("PropAgentCopyBorrowerSig1")
                                            .AtPosition(TextAnchorPosition.TOPRIGHT)
                                            .WithSize(300, 40)
                                            .WithOffset(-10, -20)
                                            )
                                        .EnableEnforceCaptureSignature()
                                .Build();
                                 
                    eslClient.ApprovalService.AddApproval(documentPackage, "LoanDocs", PropWitnessSig);
                    eslClient.ApprovalService.AddApproval(documentPackage, "LoanDocs", PropBorrowerSig);
                }

 

So guessing "LoanDocs" is wrong?   Document definition from above:

           .WithDocument
                        (
                        DocumentBuilder.NewDocumentNamed("Personal Loan Agreement")
                        .FromFile(sourceFile)
                        .EnableExtraction()
                        .WithId("LoanDocs")


Reply to: Getting Null Object Ref that I can't pinpoint

0 votes

 PackageId PackageID = eslClient.CreatePackage(documentPackage);   happens right after the DocumentPackage and build();

It looks like the issue is in the second parameter of the AddApproval call:  string documentId

What is that value?


Subscriptions

Topics Replies Freshness Views Users

I updated from 11.33 using the downloaded SDK, but found the NuGet for 11.35 today, but am having issues resolving the ESLClient class from the NuGet install.     I tried a using for each namespace

4 3 years 7 months ago 223
Profile picture for user Duo_Liang

I have a form which I'm using document extraction to pull in fields from, and some of the pieces need to be entered at the signing ceremony.   Is it possible to mask some of those fields as they ar

2 3 years 9 months ago 73
Profile picture for user Duo_Liang

Is there a way to customize the handoverlink Href property at a signer level?  I've only been able to see it at the document package level.  I'd like to redirect based on the signer role, and tryin

2 3 years 9 months ago 15
Profile picture for user Duo_Liang

As the title asks:   I'm working on an in-person signing flow where all signers will be on the same device, and am embedding the signing ceremony in an iFrame.  For aesthetics and ease of control,

3 3 years 9 months ago 45
Profile picture for user Duo_Liang

contract is a class with accessible properties that have been populated by this point and is a parameter being passed into the call here.

6 4 years 1 month ago 54
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.