I am attempting to use a third party OCR engine to OCR documents and generate metadata for the document. This metadata is exported as an XML that is associated with the document itself. My question involves mapping the Metadata in the XML within the "Fields" section of Import Agent. Is there any documentation that can point me in the right direction?
Question
Question
Metadata with Import Agent
Answer
One of the new features of Import Agent 9 is the ability to import .xml files as a Laserfiche XML import list for batch importing.
There are example .xml files showing the schema for the different types of importing located in the <Import Agent installation directory>\List File Examples folder. By default it'd be C:\Program Files (x86)\Laserfiche\Import Agent\List File Examples.
If you have control over the xml schema of the metadata file generated by the third party tool, then you can have it use the structure in the Template Population Example.xml file.
Replies
Hi Justin,
You can also use .lst files to populate metadata with Import Agent. Don't think that includes the OCR'd information though.
I'm curious however. What is the use case for needing to generate text outside of Import Agent?
Cheers!
Alexander,
I found the example and configured it to work for some samples but I was wondering. Is the <LF: and <\LF: required before every line? I'm also wondering if the portion linked below will be necessary on every import.
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://laserfiche.com/namespaces/importengine ImportEngine.xsd"
xmlns:LF="http://laserfiche.com/namespaces/importengine" version="1.0">
This would make automating an import from a third party difficult without editing or writing a custom script to change the third parties XML structure.