Hi all,
I am using ImportAgent utility to read from XML file. Here is the extract for the XML file.
<LF:document name="Application Form" template="Metadata Sheet">
<LF:metadata>
<LF:field_values>
<LF:field_value name="Customer Name">Test</LF:field_value>
<LF:field_value name="Customer ID">123456</LF:field_value>
<LF:field_value name="Test_CreationDate">%(FileCreated)</LF:field_value>
</LF:field_values>
</LF:metadata>
<LF:electronic_document content_type="application/msword" extension="doc" >
<LF:fileref ref="C:\Users\Administrator\Documents\New Documents\ Company Application Form.doc" />
</LF:electronic_document>
</LF:document>
In Import Agent profile, I have placed the monitored folder in the path (C:\Users\Administrator\Documents\New Documents) and I did not configure the Fields section. But, when the document is saved to the repository, no template has been assigned to it. Thanks to advise why the template has not been assigned to the electronic document.