How to assign barcode values read in C&S to index fields

How to assign barcode values read in C&S to index fields

Postby mayursb » Mon Jul 20, 2009 7:18 am

We are on Indicius 5.5. We have a batch class where we are using Classification and Separation. The processing level is set as "Page" in Recognition Setup for C&S. We have barcode pages in our batch which we are trying to read in the C&S script itself. We are successfully able to read the barcode values in the C&S script using Engine.Process. Also, when we come across these barcode sheets we manually set the page type for these documents in the script. The problem is how to assign these barcode values to the document index fields post C&S. Is there a way to store/retain these values read pre C&S and retrieve it back post C&S so that they can be assigned to the document index fields? We are trying to avoid adding another instance of Recognition to read index values. Can this work?
mayursb
Participant
 
Posts: 7
Joined: Fri Nov 14, 2008 8:59 am

Re: How to assign barcode values read in C&S to index fields

Postby stephen.bottomley@kofax.com » Mon Jul 20, 2009 7:37 am

This can work if you want to store your barcode value in an index field, as Classification and Separation scripting has the option to write to Kofax Capture Index Fields.

However, if you want to store your barcode in an INDICIUS field, then this cannot be done without a second instance of Recognition.
Stephen Bottomley
Senior Product Specialist
Tel: +44 (0)1223 226012
stephen.bottomley@kofax.com
Participant
 
Posts: 675
Joined: Mon Jul 11, 2005 8:31 am
Location: Cambridge

Re: How to assign barcode values read in C&S to index fields

Postby mayursb » Fri Jul 24, 2009 7:54 am

When we tried storing the barcode values in Ascent index fields, the values were lost when the batch comes out of C&S. The classification is called using classification.ClassifyTextAdvanced. Is there a specific way or command using which we should write to Kofax Capture Index fields? At what point should we be setting these Index fields? Can you please advice or provide an example.

Also, you mentioned about INDICIUS field. Is that referring to a field we create using Fields.CreateField? If so, we are not using it.

Thansk for your help.
mayursb
Participant
 
Posts: 7
Joined: Fri Nov 14, 2008 8:59 am

Re: How to assign barcode values read in C&S to index fields

Postby stephen.bottomley@kofax.com » Mon Jul 27, 2009 12:28 am

If you are reading a barcode value for classification, it is very likely that you are storing that in an INDICIUS field. Do you read it using a definition (.idf) file using a "BEGIN FIELD" / "END FIELD" structure? That's an INDICIUS field.

C&S treats every page as a "document". So you may or may not have this INDICIUS barcode field on each document. After ADS, you will have less documents, since some will be multi-page. C&S does not make the decision for you on how to map these - it is up to you to specify your own mapping and resolve conflicts.

You can do this in your C&S script. If you browse through the documentation you should find that this process is documented. Because you are going from INDICIUS fields (and they cannot be read in the C&S script) you will need one more stage - during Classification, read your INDICIUS fields (Fields.GetValue) and save them as KC Page Custom Storage Strings. These *can* be read in the C&S script and the rest is as documented.
Stephen Bottomley
Senior Product Specialist
Tel: +44 (0)1223 226012
stephen.bottomley@kofax.com
Participant
 
Posts: 675
Joined: Mon Jul 11, 2005 8:31 am
Location: Cambridge


Return to Indicius General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest