Creating a VB Script - Intelligent Capture for AP - Foundation 24.1 - Foundation 24.1 - Ready - OnBase - external

Intelligent Capture for AP

Platform
OnBase
Product
Intelligent Capture for AP
Release
Foundation 24.1
License

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)
   stdout.WriteLine("AutomatedVendorUpload")
   stdout.WriteLine(filePath)
        
Note:

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").