Using Field Injection and Signature PositionExtraction together
Monday, December 14, 2015 at 10:41amIs it possible to use Field Injection and Signature Position Extraction together in the same package? I can get either to work, depending on if .EnableExtraction() is included, but not both together.
Here is one of the methods attempted:
DocumentPackage package = PackageBuilder.NewPackageNamed("Doc1")
.WithSigner(SignerBuilder.NewSignerWithEmail(email)
.WithFirstName("John")
.WithLastName("Smith"))
.WithDocument(DocumentBuilder.NewDocumentNamed("My Document")
.FromFile(docPath)
.EnableExtraction() //With this line injected fields do not work, and without it, Signature position extraction does not work
.WithInjectedField(FieldBuilder.TextField()
.WithId("txt_id")
.WithPositionExtracted()
.WithName("txt_id")
.WithValue("Test content here..."))
.WithSignature(SignatureBuilder.SignatureFor(email)
.WithName("sig1")
.WithPositionExtracted()
.WithField(FieldBuilder.SignatureDate()
.WithName("date1")
.WithPositionExtracted())))
.Build();
PackageId id = client.CreatePackage(package);
client.SendPackage(id);
Thanks
Reply to: Using Field Injection and Signature PositionExtraction together
Tuesday, December 15, 2015 at 05:58amReply to: Using Field Injection and Signature PositionExtraction together
Tuesday, December 15, 2015 at 08:36amReply to: Using Field Injection and Signature PositionExtraction together
Tuesday, December 15, 2015 at 08:41amReply to: Using Field Injection and Signature PositionExtraction together
Tuesday, December 15, 2015 at 08:47amReply to: Using Field Injection and Signature PositionExtraction together
Tuesday, December 15, 2015 at 08:54amReply to: Using Field Injection and Signature PositionExtraction together
Monday, September 10, 2018 at 05:06amReply to: Using Field Injection and Signature PositionExtraction together
Monday, September 10, 2018 at 05:53am