Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
<Import>
	<Archive ConnectionID="21" Name="32">
		<Document pass="True">
			<DocFile FileLoc="C:\GetSmart\Processing\Test\test.txtpdf"/>
			<Fields>
				<Field Name="Vendor Name" pass="True" value="POP"/>
				<Field Name="PO Amount" pass="True" value="110.00"/>
				<Field Name="Vendor email" pass="True" value="pop@pop.com"/>
			</Fields>
		</Document>
		<Document pass="True">
		<DocFile FileLoc="C:\GetSmart\Processing\Test\test1.txtpdf"/>
			<Fields>
				<Field Name="Vendor Name" pass="True" value="Amazon"/>
				<Field Name="PO Amount" pass="True" value="10000.00"/>
				<Field Name="Vendor email" pass="True" value="cs@amazon.com"/>
			</Fields>
		</Document>
	 </Archive>
</Import>
 

...

  • <Import> ... </Import>
    • Master tag for the entire XML file.
  • <Archive> ... </Archive>
    • Secondary tag to cover the entire document, but inside the <Import> tagthe <Import> tag. This is necessary for proper functionality.  ConnectionID refers to the Database ID and Name refers to the Archive ID
  • <Document> ... </Document>
    • Information about the document to be imported. You need a <Document></Document> for each document being imported via this XML.  This tag MUST have pass="True"
  • <DocFile FileLoc="X:\path\to\document" />
    • The FileLoc property in the DocFile is the full file path to the document. The GlobalCapture engine will look for the file in this location.
  • <Fields> <Field pass="True" Name="Field Name" value="Field value"> </Fields>
    • Within the <Fields></Fields> tag, you specify the relevant index field information for the incoming document. You need a <Field /> tag for each index field. The Name and value properties are the Field Name and Field Value, respectively. This tag MUST have pass="True"

Other important information

...