Importing List Files
Import Agent can handle LST, XML, and LSTX files as lists of files or as imaged or electronic documents.
Note: A list file will only be imported if Import Agent can retrieve all referenced files. One reason Import Agent may fail to find a file is due to the notation used to specify the file paths. If the desired file is on a network drive, use a relative path or UNC. See other reasons why a list file may fail to import.
To specify how LST, XML, and LSTX files should be imported
- Open the Import Agent Configuration Utility.
- Select Profile from the menu, and then select Options.
- Select the File Types tab.
- Select or clear the Recognize files with LST extensions as list files option and/or the Recognize files with XML and LSTX extensions as list files option.
- Select these options to have Import Agent follow the import instructions contained in the file. In most cases this will cause Import Agent to import a set of files.
Note: If a list file specifies a document's name, field data, and/or an index status, these values will take precedence over the values defined in the corresponding profile.
- Clear these options to have Import Agent import the file as a Laserfiche imaged document or an electronic document. Import Agent will not attempt to read any import instructions that may be contained in the file.
Note:
See an example XML import list file. For more information on the structure of XML import list files, see the schema definition file and sample XML files included in the installation directory (e.g., C:\Program Files\Laserfiche\Import Agent\List File Examples).
<LF:importengine xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:LF="http://laserfiche.com/namespaces/importengine" xsi:schemaLocation="http://laserfiche.com/namespaces/importengine ImportEngine.xsd" version="1.0">
<LF:toc on_document_conflict="unique" on_folder_conflict="unique">
<LF:document name="Presentation" template="Sample Template">
<LF:metadata>
<LF:field_values>
<LF:field_value name="Field1">Enter field1 data</LF:field_value>
<LF:field_value name="Field2">Enter field2 data</LF:field_value>
<LF:field_value name="Author">Roy G. Biv</LF:field_value>
<LF:field_value name="DateField">04/25/1999</LF:field_value>
</LF:field_values>
</LF:metadata>
<LF:electronic_document content_type="application/zip" extension="zip">
<LF:fileref ref="C:\Temp\sample1.zip"/>
</LF:electronic_document>
</LF:document>
<LF:document name="doc1" template="Sample Template">
<LF:metadata>
<LF:field_values>
<LF:field_value name="Field1">Enter field1 data</LF:field_value>
<LF:field_value name="Field2">Enter field2 data</LF:field_value>
<LF:field_value name="Author">Roy G. Biv</LF:field_value>
<LF:field_value name="DateField">04/25/1999</LF:field_value>
</LF:field_values>
</LF:metadata>
<LF:pages>
<LF:page ocr="false">
</LF:page>
</LF:pages>
</LF:document>
<LF:document name="doc2" template="Sample Template">
<LF:metadata>
<LF:field_values>
<LF:field_value name="Field1">Enter field1 data</LF:field_value>
<LF:field_value name="Field2">Enter field2 data</LF:field_value>
<LF:field_value name="Author">Roy G. Biv</LF:field_value>
<LF:field_value name="DateField">04/25/1999</LF:field_value>
</LF:field_values>
</LF:metadata>
<LF:pages>
<LF:page ocr="false">
</LF:page>
</LF:pages>
</LF:document>
</LF:toc>
</LF:importengine>