Custom Batch Name Using KIC-ED

Custom Batch Name Using KIC-ED

Postby dilipnikam » Thu Dec 18, 2014 2:34 am

We have a requirement where Batch Name should be User Name. This User Name will come from the Folder name of the import path for Folder Import and Email import folder's name.

Eg: Email Import F:\EmailImport\dilipnikam@gmail.com_09-01-2014_10-02-37
Folder Import F:\AutoImport - Folder\Manish\

There is an option in Kofax Admin As Kofax Electrical Document where we configure path of import folder as specified above. In the Advance tab we have an option where we can add a Custom Script for Batch Naming.
Inside KIC-ED folder Setup file we have an sample Batch Naming script in this path C:\Program Files (x86)\Kofax\KIC-ED\KCPlugIn\ScriptSample\KCSImportScriptingSample\KCSImportScriptingSample
By using this sample script in KIC-ED setting we get an different batch name. This batch name contains the complete path name F:\EmailImport\dilipnikam@gmail.com_09-01-2014_10-02-37.

So we want to split this Batch name of just to "dilipnikam"
So if anyone could help us with the custom script to split this Batch Name will be very helpful to us.

I tried using split code but it is not working for me.

Dilip Nikam
Sample Batch Name script
(6.28 KiB) Downloaded 327 times
Posts: 40
Joined: Sun Jun 16, 2013 8:46 pm

Return to Kofax Capture General Discussion

Who is online

Users browsing this forum: No registered users and 7 guests