A "1" Being Appended to Documents Being Exported from Kofax Capture

QUESTION


Why is there a "1" being appended to all of my documents being exported from Kofax Capture, even though my export settings do not have the option to append "_1" if exporting duplicate documents?

ANSWER


This unique situation is expected behavior if you import and your batch class is configured for eDocuments.


To explain, let's assume you are importing PDF documents and, during export, you have chosen a field called "title" entered during Validation to be the name of your documents.


During import, Kofax Capture will treat each PDF being imported as a single self-contained "eDocument." When importing, each eDocument becomes a Kofax "page." It doesn't matter how many pages the PDF actually has inside of it; Kofax considers it a single item that becomes a "page" of a Kofax document. With this in mind, if you imported two PDFs, for example, you could have two scenarios:


(1) a single Kofax document with two eDocuments (i.e., two "pages") or;
(2) two Kofax documents each with a single eDocument (i.e., "page")


Scenario one is where the difficulty arises. In normal cases, such as when scanning, when the batch gets to export, all the TIF images that were pages of a document are either packaged into one multipage TIF (or Kofax PDF if you converted to PDF as part of the process) and the document is named with the title that was input during Validation.


In the case of eDocuments, they are already self-contained PDF files that were simply imported into the system as-is and not converted. During export, even if there are two eDocuments (i.e., "pages") in a Kofax document, Capture does not merge them together since those "pages" are two separate self-contained PDF eDocuments (each with however many pages that PDF had inside of it). So, as they export, the name of the document (in this case, the title field in Validation) would be used for each PDF eDocument in that Kofax document. That would cause a duplicate file in the export destination directory. To avoid this, Capture automatically appends 1, 2, and so on to each eDocument within a single Kofax document.


Note 1: if scenario 2 is chosen, the given export connector could be customized to not append the number but that would restrict all Kofax documents to a single "page" or eDocument in each Kofax document.


Note 2: For PDFs at least, there is a possible workaround. You can make sure to select the option to treat imported PDFs as TIF images in the Advanced Settings of the Batch Class properties. This will convert the PDF to a TIF. You can then convert it back to a PDF using the PDF Generator before exporting (in this case it is exporting a Kofax PDF and not an eDocument.