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

How to get folder content items in multi-level virtual folder structure?

Former Member
Former Member
I'm trying to use Vault.ViewOperations.GetFolderContents() method to retrieve folder content items (property folders, views and objects) in virtual folder structure. I can get this working for first level but how should I define FolderDefs to retrieve items from levels 1, 2, 3 etc.? It seems that whatever I do I only get the items from the first level.  :(
  • Former Member
    Former Member
    I managed to solve most of the problems here but how can I get the contents of a customized virtual folder? If I refer to the view ID of the customized folder I get an error 'Invalid search condition'. A little bit puzzled here..