Kofax XML format
To populate Kofax Capture fields with document or folder fields of an XML file, Kofax Capture must have the correct document or folder type. Once the target document type is identified, Kofax Capture can acquire the list of the fields defined in the document or folder type and populate their values. The following table specifies how the XML field values are mapped to Kofax Capture fields.
XML |
Kofax Capture |
---|---|
Batch |
Batch name
The availability of batch class name field in the XML overrides the setting in the Connection configuration.
If the batch class name is not specified in the Kofax XML, then the destination configured for the connection is used.
|
BatchClassName |
The name of the batch class to create the batch. This is a mandatory field. |
BatchField |
Batch fields |
Document |
Capture document |
ExpectedBatchTotal |
Batch totals |
Folder |
Capture folder |
FolderClassName |
Folder type |
FormTypeName |
Document separation and form identification Kofax XML provides the document separation and form identification in the document’s FormTypeName attribute. Example: FormTypeName="FormType". The selection of form type is determined by the batch class. If the form type is not specified in the Kofax XML, then the document type is selected from the batch class. |
ImportFileName |
Specify the name/path of the page to import into Kofax Capture. |
IndexField |
The index fields are meta data fields in documents or folders of a batch class. These are key value pairs and their value is either static or populated at run time. |
Page |
Page specifies the file to import into Kofax Capture. |
RelativeImageFilePath |
Path to import external files referenced in XML. The files specified in Page elements are imported from the path. One of the following scenarios are used identify the complete path:
|
Table |
Table fields |
TableRow |
Document table columns |
All exceptional conditions are controlled as specified below:
- An XML with empty form/document type is imported as an unclassified document.
- An XML with invalid form/document type can be imported as unclassified or can be rejected.
- If the Document or Folder fields are not defined in Kofax Capture, the XML file can be imported or rejected.
- If there is a mismatch in the Document or Folder field type, the XML file can be imported or rejected.
- If the Folder type is not available in the XML file, the XML file can be imported as unclassified or rejected.
- If a file referenced in the XML file to be imported is not available at the specified path in the XML file, the XML file is rejected.
- All files which are not referenced in the XML file for folder/document level processing are imported as unclassified documents.