Ascent Custom String Variable Set/Get

Ascent Custom String Variable Set/Get

Postby PrashantPatil » Fri Jan 02, 2009 2:10 pm

Hello,

We use Indicius Classificaiton & Separation for document classification. We are also trying to read document level barcode field in the same project. We are able to do so by setting recognition object definition & calling process method. But system is not able to set Ascent Document Index field in pre-classificaiton & separation ifv file. So following method does not work: Recog.SetAscentIndexField "PrepperID", strBarcodeValue
We are able to set batch level index field using call like : Recog.SetAscentBatchField "PrepperID1",strBarcodeValue

AFter going through Indicius script help, we set custom string using call like : Recog.SetAscentDocumentCustomString "Global.PrepID", strBarcodeValue

In Post Classification & Separation, we have following code:

Sub OnDocumentImport(lEnvelope, lDocument)
Dim sValue
sValue = Ascent.GetDocumentCustomStorageString("Global.PrepID")
Batch.Envelopes.Item(lEnvelope).Documents.Item(lDocument).CustomValues.SetValue "PrepID", sValue
End Sub

Sub OnDocumentExport(lEnvelope, lDocument)
Dim sValue
sValue = Batch.Envelopes.Item(lEnvelope).Documents.Item(lDocument).CustomValues.GetValue ("PrepID")
Ascent.SetDocumentIndexField "PrepperID", sValue
End Sub

But still we are not able to set ascent field with required value.
Please advise.

Regards-
Prashant S. Patil
PrashantPatil
Participant
 
Posts: 7
Joined: Fri Nov 21, 2008 12:13 am

Postby stephen.bottomley@kofax.com » Mon Jan 05, 2009 2:21 am

Hi,

I don't believe there are any known issues with those functions. In order to explore what might be causing your particular problem, I suggest you submit this issue to your local INDICIUS support contact.
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 2 guests