Community
Connect with us and enhance your M-Files experience using Extension Kit for M-Files. Here is how to get started.

Is it possible to import file(s) from a folder - like the M-Files Connection to external sources - but create a mutli file document - and metadata from the XML file next to the pdf and other attachement?
For example:
the folder: C:\IMPORT\In on the M-Files server
the folder contains some files:
invoice_012345.pdf - the invoice
invoice_012345.xml - the invoice metadata
invoice_012345_att1.xlsx - the invoice attachement 1
invoice_012345_att2.eml - the invoice attachement 2
Hi @kornelk,
Your use case can be covered by combining two of our modules: Data Transfer (for importing from external sources such as FileShare and SFTP) and the XML Processing module (for extracting metadata from your XML file).
Your folder structure should be hierarchical, meaning each file group (like the one in your example) should be placed in its own folder. This allows the system to correctly recognize which files belong together.
Here are some helpful resources and examples:
- Data Transfer Documentation: Data Transfer Archives - Extension Kit for M-Files | Unitfly
- XML Processing: XML Processing Archives - Extension Kit for M-Files | Unitfly
- Creating M-Files Objects From XML Files: Property operations - Extension Kit for M-Files | Unitfly
- Importing and Exporting Data in M-Files: Content operations - Extension Kit for M-Files | Unitfly
I hope these materials help you build your use case. If you have any further questions or need assistance with the configuration, feel free to reach out!
Best regards,
Nika