Skip to main content
Kofax

Sample XML Importing Index Field Value

812

QAID # 812 Published 

Question / Problem:

Is there an example of using Kofax Capture / Ascent Capture XML Auto Import to import a Document with an index value?

Answer / Solution:

Here is an example of an Capture XML Auto Import file for use when importing a Document with an index value:

<ImportSession>
   <Batches>
      <Batch BatchClassName="batchxml" Priority="1" Processed="0">
         <Documents>
            <Document FormTypeName="frmxml">
               <IndexFields>
                <IndexField Name="FirstName" Value="MP"/>
               </IndexFields>
               <Pages>
                  <Page ImportFileName="C:\xmlexam\fillpage.TIF"/>
               </Pages>
            </Document>
         </Documents>
      </Batch>
   </Batches>
</ImportSession>

Note: Value= is case sensitive. If you use a lowercase v it will not report an error, however, the index value will not be extracted from the XML file. Be sure that you use an uppercase V.

Applies to:

Product Version
CAPTURE 10.0
  10.1
  10.2
  11.0