marioneil

document extract = true vs extract = true

0 votes
Hi Can you please clarify what would be the effect of extract = true vs extract = true for a document thanks Mario

Reply to: document extract = true vs extract = true

0 votes
Hi Mario, Talking about extraction, OneSpan Sign provides at least five ways to extract, and all of them are related to the "extract":true/false in JSON payload. I would explain them one by one to you: 1.Document Extraction Use PDF forms to tell OneSpan Sign where and what the size you want your field(signature field/date field/text field, etc) to be on the document. The property name of the PDF form should follow esl grammar so that OneSpan Sign can know which type of fileds you want and which signer/approval you want this field to be bound to. The "extract":true is added to the document level. 2.Text Tags Extraction Text Tags Extraction achieves the same goal with Document Extraction, only difference is you don't use a pdf form. You direct embed esl grammar(including size) into your document and OneSpan Sign can recognize that snippet. The "extract":true is also added to the document level. 3.Position Extraction Position Extraction is a simplified document extraction, you just tell OneSpan Sign where and the size of the field, the type and other info still includes in the request payload. Since position extraction is refined to the field, "extract":true is added to a field level.(which field you need position extraction, you need to add a extract=true) 4. Text Anchor Text Anchor follows the same idea with Position Extraction. By given the specific snippet of your document word, OneSpan Sign can locate to the position and you need extra info in the request payload to specify the type and other info. The extract should be set to false:"extract":false on field level just like position extraction. 5.Field Injection Field Injection is different to those four. You would use PDF form with property name to locate the field, and inject values(text) to these fields. What you injected would become a part to the document before signers start to sign. Pretty like what you can done with these open source PDF libraries. The "extract":true is added to the document level. If any detail has mistake, you are very welcome to point that out and I would correct that. And hope this could help you! Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: document extract = true vs extract = true

0 votes
For document extraction what is the effect of the "extract":false

Reply to: document extract = true vs extract = true

0 votes
Hi Mario, By default, the document level and the field level "extract" are set to false. If remains false, the document extraction feature won't work. Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


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