Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/Common problems

User may see empty virtual folders in view even though "Show empty folders" is not set

Last updated on 8 January 2024

Admin
M-Files Desktop

Overview

This article introduces and explains the situation where the user may see an empty virtual folder even though the "Show empty folders" setting is disabled in the view's grouping level settings. The article also provides a workaround method for this issue for common views.

Example of this kind of situation:

There is a common view to list documents with two nested grouping levels: Year and month (according to document creation year and month) and Customer:

image.png

Here, each <Month Year> virtual folder includes nested virtual folders. For example, the August 2012 virtual folder groups documents according to Customer property values as in the below picture.

For example, the below document is included in virtual folders "ESTT Corporation (IT)" and "RGPP Partnerships"

image.png

image.png

Let's assume that only one document was created in November 2023 in the vault and has no value set in Customer property, as follows. In that case, an empty virtual folder "November 2023" appears in the view.

This may confuse the user as the "Show empty folders" setting is disabled in the view's grouping level settings for both grouping levels YearAndMonth ( Created ) and Customer.

image.png

image.png

Solution and workaround

This kind of issue occurs if there are objects that match the upper grouping level but do not match the lower grouping level. This works logically and as designed as each grouping level only considers if there is content that would match with the grouping level itself.

Workaround for this issue with common views is to enable indexing for the view. It will make the empty virtual folders disappear. Note that indexing view can be done only for common views.

Still need help?