Creating a VB Script - Intelligent Capture for AP - English - Foundation 22.1 - OnBase - external

Intelligent Capture for AP

Intelligent Capture for AP
Foundation 22.1

Once you have created a vendor import XML configuration file, you must create a VB Script to locate the XML configuration file and execute the vendor data import process. VB Scripts are created within OnBase Configuration (see the System Administration module reference guide or help file for more information).

By default, when the Data Capture Configuration Tool is installed, a template for a VB Script (VendorImportAutomationScript.txt) is created in the following location: C:\Program Files (x86)\Hyland\Data Capture Configuration\Templates. This template, which contains sample code similar to the following, can be used as a starting point when creating a VB Script for your solution:

   Dim filePath
   filePath = "FilePath\VendorImportAutomationConfiguration.xml" 'point to Vendor Import Automation Configuration file
   Set fso = CreateObject ("Scripting.FileSystemObject")
   Set stdout = fso.GetStandardStream (1)

While you may be able to use much of this sample script in your solution, you must change the filePath value to match the file path of your XML configuration file (e.g., filePath = C:\Program Files (x86)\Hyland\Data Capture Configuration\Templates\ VendorImportAutomationConfiguration.xml").