Configuring Batch Import Utility to monitor different directory paths from different instances - Support

Configuring Batch Import Utility to monitor different directory paths from different instances

From Support

Jump to: navigation, search

Batch Import Utility monitors one or more directories to find files that are to be imported to WebDocs. The list of directories to monitor and the instructions for how to import them to WebDocs and how to compose the index parameters are maintained in a database (*.mdb). In some cases it will be beneficial to have multiple databases, for instance if you want to monitor one directory with really high priority during the day and monitor another directory with lower priority files overnight.

The name of the database file is given in *.ini files in a setting called "SettingsDB". Batch Import supports multiple *.ini files. The *.ini file to use is specified on the command line when the utility is started and may be included in a Windows shortcut. The command line supports two parameters separated by tildes (~). The first is a constant that specifies startup processing. The options are START or ONCE. The second parameter is the name of the *.ini file to use. It must be a fully qualified path. If the file does not exist, it will be created with default values. If no file is given, RJSDOCIM.INI will be used.

To create a shortcut that will start an instance of Batch Import with a different database:

First. Copy RJSDOCIM.MDB (in the "C:\Program Files\RJSIMGBATCHIM" directory) and give it another name, say RJSDOCIM2.MDB.

Second. Copy RJSDOCIM.INI and give it another name, say RJSDOCIM2.INI

Third. Edit your copy of RJSDOCIM.INI (RJSDOCIM2.INI in the example) and change the SettingsDB value to the fully qualified path of your new copy of RJSDOCIM.MDB (RJSDOCIM2.MDB).

Fourth. Create a shorcut that calls RJSDOCIM.EXE passing the name of your new copy of RJSDOCIM.INI (RJSDOCIM2.INI) as the second parameter. The "location of the item" should look somehting like this: "C:\Program Files\RJSIMGBATCHIMP\RJSDOCIM.EXE" x~C:\Program Files\RJSIMGBATCHIMP\RJSDOCIM2.INI. "x" is the first parameter; it can be START or ONCE or something else (in this case x). The tilde (~) is the parameter delimiter. The full path to the INI file is the second parameter. Give the shortcut a name to keep it separate from the default shortcut in the Start/Programs menu.

Fifth: Set up the directories you want to monitor using this instance. The values will be saved in your copy of the MDB file (RJSDOCIM2.MDB). Once set up, these directories will be monitored each time you use this shortcut to start Batch Import.

Using this technique, multiple instances of Batch Import may be running simultaneously, each monitoring a different set of folders as specified in their individual copies of the .MDB file.

The command line form used in the shortcut may also be used in a Scheduler application to start individual instances at various times of the day.

Default Contents of RJSDOCIM.INI

[Settings]
SettingsDB=C:\Program Files\RJSIMGBATCHIMP\RJSDOCIM.MDB
PollingInterval=1
LogFileName=C:\Program Files\RJSIMGBATCHIMP\RJSDOCIM.LOG
MaxLogSize=100000000
DisplayErrors=1
LogErrors=1
RegularZip=1
ResaveTIFFImages=0
ResaveXResolutionFilter=0
ResaveYResolutionFilter=0
FilePrefixDelimiter=_
MaxFileSize=0
UseSingleiSeriesFTP=0
GenerateJoblog=0
SingleQuoteReplace=
OCRTimeout=0
UseAcrobatFullText=0
TempOCRDir=C:\RJSTEMP
UseFastOCR=0
ZoneMaskFile=
UseWebDocsiSeriesDotNetAPI=0
WebdocsBaseURL=http://1.1.1.1:1080
WebdocsSearchURL=/IMAGESERVER/DOC100R?ACTION=DOCINFO&IDOCID=
UseEnterpriseWorkflow=0
WorkflowWebServiceURL=http://1.1.1.1:8089/WorkflowWebServices/services/WorkflowWebservice?wsdl
WorkflowWorkBasketURL=http://1.1.1.1:8089/WorkflowWebServiceClients/WorkflowWebserviceClients/Workbasket.jsp
WorkflowAdminURL=http://1.1.1.1:8089/WorkflowWebServiceClients/WorkflowWebserviceClients/Admin.jsp
WorkflowUser=
WorkflowPassword=

This article has been proofread by Dkimmel as of 14:47, 31 August 2007 (Central Daylight Time)
Personal tools