jdevalk

Combine static fields with EnableExtraction does not work?

0 votes
When I create a package from a PDF document and combine the EnableExtraction() calls to extract form field positions, and I add an .WithInjectedField() clause, I do not get any data injected in the static fields. I now have to do it in 2 steps: 1) Create a layout from the PDF with EnableExtraction() 2) Create a package and base it on the Layout and specify WithInjectedField() on this package This works, but it is a bit clunky and it requires the need in our case for a Console like app that will create Layouts from business PDF's prior to it being able to be used from within our custom application (or: create a layout on each call from our website but that seems super ugly) Is the combination of EnableExtraction and WithInjectedField supposed to work? Anybody who has gotten this to work? To be specific, if I combine the two in one call, the package is generated as normal, but the injected fields will be empty and not have any content in them. If I create a layout first and then base the package on the layout, I do get content in the injected fields. Is this a bug? Please advice

Approved Answer

Reply to: Combine static fields with EnableExtraction does not work?

0 votes

Hey jdevalk, Using them together does work. Take a look at this previous forum post for help with this: https://community.onespan.com/forum/using-field-injection-and-signature-positionextraction-together If you have issues with this using it how you're using it, let me know, but it should work, this way.

- Michael

Director, Partner and Developer Technologies, OneSpan

Facebook - Twitter - LinkedIn


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