This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Import doc with XML

Former Member
Former Member
Hi All,
I want to import documents with XML file, where the properties are. My problem is that no prpoerty is read by M-Files. Here is my XML:

<?xml version="1.0" encoding="UTF-8"?>
<document>
<InvoiceNo>100085415*</InvoiceNo>
<Value>456.80</Value>
<Cur>EUR</Cur>
<Issuer>Nellen St Quack GmbH Si Co. KG</Issuer>
<InvoiceDate>2016/10/12</InvoiceDate>
<DueDate>2016/11/01</DueDate>
</document>

There is no lookup field only plain text, numeric and date fields. In the Windows log I don't see any message.
How can I discover wht is the prolem?
Thanks:Peter
Parents
  • Former Member
    Former Member
    If you use XML as an import file source, you need to use xpath statements to tell M-Files where the meta data is in the XML structure

    Simply type "document/invoiceno" (without the "")

    Dont forget to check the box " Read values from an XML file " and make sure the XML file name is the same as the pdf/tif file to import.

    some samples: community.m-files.com/index.php
Reply
  • Former Member
    Former Member
    If you use XML as an import file source, you need to use xpath statements to tell M-Files where the meta data is in the XML structure

    Simply type "document/invoiceno" (without the "")

    Dont forget to check the box " Read values from an XML file " and make sure the XML file name is the same as the pdf/tif file to import.

    some samples: community.m-files.com/index.php
Children
No Data