Sharada | Posts: 9

Esignature is missing in the document

0 votes

Hi there, 

 Below is my code to generate the package.  I am receiving an email with pdf document for esignature,every thing looks good except I'm not seeing any place to click and sign not sure if I am missing any thing. Please advise.

DocumentPackage superDuperPackage = PackageBuilder.NewPackageNamed("Test Document Extraction")
                    .WithSigner(SignerBuilder.NewSignerWithEmail("[email protected]")
                            .WithCustomId("Signer1")
                            .WithFirstName("John")
                            .WithLastName("Smith"))
                    .WithDocument(DocumentBuilder.NewDocumentNamed("testDocumentExtraction")
                            .FromStream(stream, DocumentType.PDF).EnableExtraction()
                    .WithSignature(SignatureBuilder.SignatureFor("[email protected]")
                    .WithName("Signer1").WithPositionExtracted()))
                    .Build();
             PackageId packageId = eslClient.CreatePackageOneStep(superDuperPackage);
            eslClient.SendPackage(packageId);


Duo_Liang | Posts: 3776

Reply to: Esignature is missing in the document

0 votes

Hi Sharada,

 

Thanks for your post!

From the code snippet you provided, seems you are using Position Extraction feature, where the exact position and size of a PDF form field in an uploaded PDF file will be automatically retained in OneSpan Sign.

In your case, you named the signature as "Signer1" (.WithName("Signer1")), hence the OneSpan Sign document engine will look for a PDF form with the same property name. I've attached an example PDF with such a PDF form field, could you give it a quick attempt and let me know if this works with your code?

 

Duo

 


Attachments
Sharada | Posts: 9

Reply to: Esignature is missing in the document

0 votes

Thank You. It works!


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off