LaserVault DMS File Import

LaserVault DMS Reference Guide
File Import
The LaserVault File Import utility can be used to import files into DMS. It will add a record, set field
values as defined in the configuration file and then attach a file.
Command Line Parameters
LVDMSFileImport /Config=[Path and file name of config file] /FilePath=[Path to
folder that contains files] /FLD_[FieldName]=[FieldValue]
/CONFIG= This defines the path to the configuration file. If this is not specified then the program will
attempt to use the LVDMSFileImport.xml file in the same folder where the exe is located.
/FilePath=
This defines the path where the files are stored.
/FLD_[FieldName]= This allows you to override a field value. The value from the command line will
be used instead of the value defined in the config file. This will normally be used to supply a report
date when processing back dates.
If any parameter value contains spaces, surround it with double quotes.
Example:
/CONFIG=”C:\Test Folder\Config.xml”
Copyright 2015 Electronic Storage Corporation • 918-664-7276 • 800-444-6283 • www.laservault.com • [email protected]
Page 1
Configuration File Parameters
The configuration file is an XML file with the following entries: (each entry is explained after the
sample config file).
<Config>
<DMSServerURL>http://192.168.0.132/lvdmsweb/default.asp</DMSServerURL>
<DMSSiteName>Test</DMSSiteName>
<DMSUserName>Admin</DMSUserName>
<DMSPassword>Test</DMSPassword>
<DMSFolderName>PDF Import</DMSFolderName>
<FileList>
<File>
<FileName>aragingsumint.pdf</FileName>
<DMSFileName>aragingsumint.pdf</DMSFileName>
<DMSFieldList>
<DMSField>
<FieldName>Report_Name</FieldName>
<FieldValue>AR Aging Report - Interm</FieldValue>
</DMSField>
<DMSField>
<FieldName>Report_Date</FieldName>
<FieldValue>*TODAY+2</FieldValue>
</DMSField>
</DMSFieldList>
</File>
</FileList>
</Config>
<DMSServerURL>[URL to DMS]</DMSServerURL> This entry specifies the URL to DMS. Be sure
to specify the full path to default.asp.
<DMSSiteName>SiteName</DMSSiteName> This entry specifies the name of the DMS site you
are importing into.
<DMSUserName>UserName</DMSUserName> This specifies the DMS log-in user name.
<DMSPassword>Password</DMSPassword> This specifies the DMS log-in password.
<DMSFolderName>Folder Name</DMSFolderName> This specifies the name of the document
index folder.
Copyright 2015 Electronic Storage Corporation • 918-664-7276 • 800-444-6283 • www.laservault.com • [email protected]
Page 2
<FileList> This section defines the list of files to import. For each file you want to import, add a
<File> entry.
Within the <File> entry the following settings are defined:

<FileName>name of file</FileName>
This defines the name of the file name without any path data.

DMSFileName>name of file</DMSFileName>
This defines the name of the file as it will be stored in DMS.

<DMSFieldList>
For each file you can define a list of fields to update. For each field you want to update, add a
<DMSField> entry.
Within the <DMSField> entry, the following settings are defined.

<FieldName>Name of field in DMS</FieldName>
This defines the field to update in DMS.

<FieldValue>Value to update in DMS.</FieldValue>
This defines the value with which to update the field. You may use the following special tokens:
*TODAY
*YESTERDAY
*TOMORROW
*TODAY-[# of days]
*TODAY+[# of days]
Copyright 2015 Electronic Storage Corporation • 918-664-7276 • 800-444-6283 • www.laservault.com • [email protected]
Page 3