Forum Discussion

Abhimanyu Singh's avatar
Abhimanyu Singh
Steel Contributor
Jun 02, 2018

Upload folder allowed even when make new folder command is set to no in settings

There is an inconsistency in the way "folders" are allowed in modern experience on document libraries. 

 

We have set the option "Make new folder command available" to "no" in the library settings. This has been working like a charm, as we do not allow our users to just upload and dump folders. We prefer structured managed metadata instead of infinite nested folders. 

Library settings for new folder is set to no

 

 

In the classic experience this has served our purpose well. There is no visible option of uploading a "folder". 

 

No visible upload folder option in classic experience

 

 

And when the "upload" button/link is clicked, the resulting upload dialog with file browser does NOT allow selecting folders. This satisfies our requirement of not allowing folders in document libraries.

 

File browser does not allow folder selection in classic experience

 

 

But,

 

In the modern experience, the option to upload a folder is available big and clear as a dropdown option for upload, despite the settings set to "no". 

Upload folder allowed in modern experience

 

 

This is inconsistent behaviour with the settings and as compared to classic experience. This should honour the settings, and not show (or disable) the "folder" upload when the settings is "no".

 

This inconsistent behaviour is now causing a lot of headache for us having found several deeply nested folders been uploaded (rather dumped) by several users.

 

Why should this be? Perhaps there is a common UI pattern irrespective of whether it is on a classic site or a group-connected modern site. But, this should check and honour the type of site and whether the setting is disabled; based on which "upload" option should be enabled/disabled.

 

 cc: Chris McNulty

 

    • Abhimanyu Singh's avatar
      Abhimanyu Singh
      Steel Contributor
      No update yet. I think Microsoft have clearly specified that they do not see this as a bug or they don't have any intent of fixing this due to complexities, The inconsistency between the setting and the functionality remains as-is.
  • 28100501's avatar
    28100501
    Copper Contributor

    Abhimanyu Singhgood point -  today I'll talk to a Microsoft support "Mohit" he promised me to lookin to thes issue.

    In the same "lega" in modern view if you select in view option under Folder or Flat - if you select "Show all items withhout folders this will not take effect you can still se the folder :-(

     

     

    • LincolnDeMaris's avatar
      LincolnDeMaris
      Icon for Microsoft rankMicrosoft

      Hello,

       

      Unfortunately, we have no plans to fix this issue and expand the scope of this setting to include more places.  This setting is not by any means comprehensive today - it does not affect folder creation in mobile experience or synched locations either.  Upload folder is just one of the "holes" in the present story.

       

       

      • Abhimanyu Singh's avatar
        Abhimanyu Singh
        Steel Contributor

        LincolnDeMaris Have you been able to look into this "just one of the "holes" in the present story" yet? 

         

        It's been 3.5 years now and some of the basic niggling issues like this persist. SPO is progressing at a pace with all new features, but there is no plan to "fix" lingering usability issues! Why?

         

        Mark-Kashman Chris McNulty Why?

  • nigel-dewar's avatar
    nigel-dewar
    Copper Contributor

    Is this bug not going to get fixed?

     

    I am having to create a Remote Event Receiver to block this crazy thing. Did the developers at microsoft not think when they implemented this?

     

    This bug been opened for ages, and still nothing done!

  • Same issue here. Disabled the make new folder option  to propagate the use of metadata in document libraries. Eventually found out users where able to upload folders instead. 

     

    This needs a fix.  

    • Julian Orange's avatar
      Julian Orange
      Copper Contributor

      +1  A fix will make it easier to ensure the right user behavior.

Resources