You are viewing limited content. For full access, please sign in.

Question

Question

Import Agent using XML don't load Dates fields

asked on November 19, 2015

I'm using a XML file to import pdf documents to Laserfiche, the import process the file OK but I have a several issues:

1. Date field are not loaded to the template, even when the format is the same (mm/dd/yyyy) and the fields are correctly type

2. The PDF file don't get deleted or move to the processed directory, only the xml file

3. The imported documents don't have text or pages generated even when it is specified in the IA program to do it.

Attach is the sample XML that I'm testing.

What I need to do to solve these 3 issues?

 

test.txt (1.64 KB)
0 0

Answer

SELECTED ANSWER
replied on December 7, 2015

Thanks!

0 0

Replies

replied on November 19, 2015

The date format is always yyyy-mm-dd for date fields using XML, no matter how they are configured on your PC or in Laserfiche. So, instead of "01/14/2015" use "2015-01-14".

1 0
replied on November 19, 2015

Thanks Michael, I changed to yyyy-mm-dd and worked perfect.

What about issue 2 and 3?  

0 0
replied on November 25, 2015 Show version history

Unfortunately, per 2 and 3, it is only support to extract text if configure attribute "extract_text" as "true" and need to install ifilter such as Adobe reader.

The sample code:

<?xml version="1.0" encoding="utf-8"?>
<LF:importengine version="1.0" xmlns:LF="http://laserfiche.com/namespaces/importengine">
  <LF:toc on_folder_conflict="unique" on_document_conflict="unique">
    <LF:document name="Extract Text" comment="" language="" template="">
      <LF:electronic_document extension="pdf" content_type="application/pdf" extract_text="true">
        <LF:fileref ref="C:\IA\test.pdf" />
      </LF:electronic_document>
    </LF:document>
  </LF:toc>
</LF:importengine>

 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.