The M-Files Community will be updated on Tuesday, April 2, 2024 at 10:00 AM EST / 2:00 PM GMT and the update is expected to last for several hours. The site will be unavailable during this time.

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

File and Folder Import

Hi guys, 

It seems like a straight forward thing but I'm struggling to find a non-scripting way to do this. 

I've got a customer with an organized folder structure they want imported into M-Files. What we're trying to achieve via an import is mapping a folder level to a property definition. 

For example:

//folder1/folder2/folder3

property definition = folder 1

property definition = folder 2

property definition = folder 3

  • The issue you run into is that when importing M-Files can recognize the path/folder but doesn't have a native way parse the path into multiple folders which is why you would need to setup something like a script to parse and split it into multiple properties.

    The only option without scripting I can think of is if you import via an external file source. (User Guide Link)

    If you setup an external file source and select 'Preserve Folder Structure' then it will create 'Traditional Folders' for each object imported. Those traditional folders will be added into a value list with the folder hierarchy preserved.

  • Thanks I think you're right in going down the traditional folder path would be the best option at this stage.