Hello,
I'm creating a proof of concept project for a sales prospect, and I have a weird issue with a document definition based on a FlexiLayout. I wanted to see if anyone up here had any insight on how to fix it.
- In my FlexiLayout, I've defined an object collection in a signature box to see if ANYTHING is written in that region. In the object collection's Type tab, I'm specifying Text, Punctuation Mark, Picture and Checkmark to be recognized in this object collection.
- The object collection is linked to a checkmark block in the FlexiLayout
- When I match this FlexiLayout against a specific document example, the object collection is correctly identifying when that signature box has written text and when it's blank
- When I export this FlexiLayout, import it into my document definition and then test it against the SAME document example, it DOES NOT recognize any written text in that same signature checkmark/object collection.
- Per Paula Sanders' recommendation, I went into the FlexiLayout, opened the signature object collection's properties, went to the Advanced tab and added "userawtext:true;" to the Advanced pre-search relations box.
- After exporting the FlexiLayout, importing it into the document definition again and testing it against the same document example, the signature region/checkbox still doesn't recognize the written text.
Normally, I would've created a support case for this issue, but since it's a pre-sales project, I contacted Paula. She is currently busy at the DocuWare users conference for the rest of the week, so if anyone reads this post and has some insight on how to get the document definition to recognize the written signature, I would appreciate any and all advice here.
Thanks,
Ben Holton
Conarc, Inc.
I'm creating a proof of concept project for a sales prospect, and I have a weird issue with a document definition based on a FlexiLayout. I wanted to see if anyone up here had any insight on how to fix it.
- In my FlexiLayout, I've defined an object collection in a signature box to see if ANYTHING is written in that region. In the object collection's Type tab, I'm specifying Text, Punctuation Mark, Picture and Checkmark to be recognized in this object collection.
- The object collection is linked to a checkmark block in the FlexiLayout
- When I match this FlexiLayout against a specific document example, the object collection is correctly identifying when that signature box has written text and when it's blank
- When I export this FlexiLayout, import it into my document definition and then test it against the SAME document example, it DOES NOT recognize any written text in that same signature checkmark/object collection.
- Per Paula Sanders' recommendation, I went into the FlexiLayout, opened the signature object collection's properties, went to the Advanced tab and added "userawtext:true;" to the Advanced pre-search relations box.
- After exporting the FlexiLayout, importing it into the document definition again and testing it against the same document example, the signature region/checkbox still doesn't recognize the written text.
Normally, I would've created a support case for this issue, but since it's a pre-sales project, I contacted Paula. She is currently busy at the DocuWare users conference for the rest of the week, so if anyone reads this post and has some insight on how to get the document definition to recognize the written signature, I would appreciate any and all advice here.
Thanks,
Ben Holton
Conarc, Inc.
Comments
11 comments
Instead of using object collection (check mark) why do you just use a regular region search element mapped back to a Text Block? If there is "garbage" in the text block when it OCR it means something was written in there. Then in FlexiCapture, just write a script that says if there is "garbage", set a check mark field to "is signed
https://anonfiles.com/file/b2bd02ef2233c74fd90503025047301f
Basically I have 3 fields.
Signature - This field is optional and is just to capture the image of the signature
SignatureOCRC- This is the OCR field to OCR the value of the signature
CK_Signature - This is the checkmark group. You can either check Signed or NotSigned depending on the SignatureOCR field values.
The script is as follows:
if not me.Field("SignatureOCR").Value = "" then
me.Field("Signed").Value = true
me.Field("NotSigned").Value = false
elseif me.Field("SignatureOCR").Value = "" then
me.Field("NotSigned").Value = true
me.Field("Signed").Value = false
end if
Forgive me if the script is not optimized or there could be a better way. I'm not a programmer. This is just something I just put together right now. I could probably do a better job if you give me a couple weeks =)
Per your suggestion, I created a character string search element in the FlexiLayout for a region on the form with written text that was NOT getting the text recognized by the object collections.
When I tested the FlexiLayout with this new character string element, it did NOT recognize the written text in the defined region either. HOWEVER, when I click on the "Show Raw Objects" button in the FlexiLayout toolbar, the written text in this region is recognized as the type "Raw Text".
Since FlexiLayout is SEEING this written text as raw text rather than "recognized" text, how do I get the character string search element to recognize the raw text? Is there a setting that I can enable in FlexiLayout?
Thanks,
Ben
I think I said to use a region search element and not character string. Is there a particular reason you are using a character string for a signature field? You could probably also get away with Object Collection and if it doesn't find anything then it would be considered null. In which case it would not have a signature. Either approach would work.
Using a checkmark box will not always give you accurate result if you make the check box too large. If the area is too large compare to what was marked in the marked in the "large" checkbox, it could miss it.
Ben,
Ben I'm glad you were able to find a resolution. Just be careful to select all option in the object collection. If the item is not identified as a text, it could accidentally not get picked up. My suggestion of using a region would not have this issue because it would use everything in that search area but either option will get what you want.
I have the same problem and wanted to look how you solved it...
I don't have the sample anymore but if you look at the script I provided in the message, basically I'm creating 2 regions. 1 for the checkmark and the other for a text field. The regions would overlap and then I used a script to say if it OCR/ICR anything in the text box, to set the check mark group to either being signed or not signed.
In the six years that have elapsed since this post, is this still the preferred way of detecting if a form has been signed using FlexiLayout?
Please sign in to leave a comment.