Forum Discussion

WeeTeckTan's avatar
WeeTeckTan
Iron Contributor
Jul 26, 2018
Solved

How to detect the sub-folders more than 2 levels?

For SharePoint Online, it's recommended to use the nested folders for 3 levels only for the departmental documents. 

How to prevent the user from creating the sub-folder more than 3 level deeper in document library?

Another alternative way is creating the PowerShell script to check the folder level and compile in the report. Then notify the owner to move the folders to upper level (level 1 - level 3) only. 

However it's still semi-manual work.

Any better idea to overcome this scenario?

 

Thanks.

 

  • Deleted's avatar
    Deleted
    Jul 26, 2018
    There really isn't a folder level performance issue you have to worry about, the only thing you need to worry about with folders is URL length. You have to keep under 400, which is much closer to windows file system limits + your tenant URL so it's not as big an issue but you just have to consider it.
  • First I’ve heard of this 3 folder rule. But honestly your best bet is meta data if you have a folder issues and do away with folders if you do the metadata right.

    But I’ve had doc libs with quite a few layers thick from a system that used to auto folder based on month day year time etc many levels for hundreds of thousands of documents never an issue.
    • WeeTeckTan's avatar
      WeeTeckTan
      Iron Contributor

      Deleted No performance issues to have so many folder levels in SharePoint Online?

      What's the auto folder based on month day year time? Got sample or snapshot picture as it's easier for me to figure out the solution.

      The users still prefer to have folders for the departmental as currently they are using shared folders in shared drive. I will migrate them to SharePoint Online and minimize the nested folders level if possible.

      Thanks. 

      • Deleted's avatar
        Deleted
        There really isn't a folder level performance issue you have to worry about, the only thing you need to worry about with folders is URL length. You have to keep under 400, which is much closer to windows file system limits + your tenant URL so it's not as big an issue but you just have to consider it.

Resources