Skip to Content
Main Content

Hiker Looking Out Over Mountains

4 Minute Read | September 5, 2018

The Problem with Nested Folders and Sites on SharePoint

 Anyone who’s worked on a Windows machine in the last 30 years will find the image below familiar. It shows a file share containing reporting documents organized by year and department. 

Nested Folder Structure

Sounds easy, until you realize that the department folders are inconsistently named and some of them change from year to year. Nested folders are easy to create, but also easy to abuse and difficult to navigate and manage.

Such document library problems – and the bad habits that create them – can carry over into SharePoint. It’s tempting to pull this structure into SharePoint document libraries directly but that doesn’t solve the problem. Similarly, it’s tempting to create endless subsites in the same way that user create nested folders.

Resist the temptation to misuse sub-sites in SharePoint. Read on for analysis of the problem and for more efficient ways to structure site content.

 

The Problem with Nested Folders

Nested folders tend to create confusing structures that are difficult to use and manage. In the example above, of performance reports for each fiscal year, the structure changes from year to year and no naming protocol for folders exists. SharePoint makes it too easy to import documents in the same nested structure we’ve used for decades for file shares. So we just do it.

Don’t.

SharePoint offers much better tools for users to access and interact with documents.

 

SharePoint flattened data structure

 

Instead of perpetuating this nested folder structure, flatten the data into a single view. That is, all the documents should be at the same level. Then create columns for fields, such as Year or Department, and “tag” data with the appropriate fields. Under this regimen, users will be able to filter by year or department instead of searching through folders to find the documents they seek.

 

The Problem with Nested Sites

In essence, site structure in SharePoint mirrors a nested folder structure. You typically have one root site that becomes the main site, and department sites live under the root site. Many organizations misuse or overuse nested sub-sites and make their data unmanageable.

 

SharePoint subsites structure Dropdown menu showing option to add a SharePoint subsite 

 

The site contents view makes it easy for anyone to add a subsite when they really ought to just add a page, list, or document library to an existing site.

Consider setting a limit on levels of navigation in your SharePoint environment. You might even turn off the ability to add sub-sites.

 

Ways to Prevent Nested Information

All that being said, we understand that both document libraries and sub-sites can be useful. In principle, absolutely nothing is wrong with using them. But keep in mind that misusing their features can get you into trouble in maintaining content and site security in the long term.

 

Use Governance Policies

Have your governance team implement content publishing guidelines. A guidelines document provides a reference for use of certain features of SharePoint and disseminates rules on use of those features. It will serve your content managers well.

What sort of guidelines might your governance team include?

  • Turn off the ability to add folders in SharePoint lists and document libraries. This can be done manually, at the list level, or scripted in PowerShell to turn this setting off in all existing lists/document libraries.


"No" radio button selected as an a setting to Make "New Folder" command available

 

Turn off the ability to create folders in document library settings.

 

  • Limit user permissions, so only content managers may add sub-sites to a site.
  • Specify separate permissions for use cases in which a new sub-site is appropriate and for cases in which new content is better off as a page on the parent site.

 

Set Up a Framework for Managing Documents

Most companies that make the jump to SharePoint previously managed their documents in a messy file share like the one at the top of this story. Don’t import old problems to a new platform.

Instead of mimicking the folder structure of a file share, check out SharePoint’s document libraries features. They give you capabilities beyond that of a regular file. For example, versioning can be turned on or off in document library settings. You can also add columns to “tag” data with standard values; under the old regime, this data would reside in inconsistently-named folders. Filter for data; don’t hunt for it in a haystack of folders.

Authored By

Aaron Stearns

Aaron Stearns

Senior Full Stack Developer

Amanda Aalpoel

Amanda Aalpoel

Senior Web Developer

hand-drawn owl

Get Expert Tips

361637/Blog/The-Problem-with-Nested-Folders-and-Sites-on-SharePoint4
<p>&nbsp;Anyone who&rsquo;s worked on a Windows machine in the last 30 years will find the image below familiar. It shows a file share containing reporting documents organized by year and department.&nbsp;</p> <p><img alt="Nested Folder Structure" loading="lazy" src="/Images/Blogs/NWS/NestedFolderStructure1.gif" /></p> <p>Sounds easy, until you realize that the department folders are inconsistently named and some of them change from year to year. Nested folders are easy to create, but also easy to abuse and difficult to navigate and manage.</p> <p>Such document library problems &ndash; and the bad habits that create them &ndash; can carry over into SharePoint. It&rsquo;s tempting to pull this structure into SharePoint document libraries directly but that doesn&rsquo;t solve the problem. Similarly, it&rsquo;s tempting to create endless subsites in the same way that user create nested folders.</p> <p>Resist the temptation to misuse sub-sites in SharePoint. Read on for analysis of the problem and for more efficient ways to structure site content.</p> <p>&nbsp;</p> <h2>The Problem with Nested Folders</h2> <p>Nested folders tend to create confusing structures that are difficult to use and manage. In the example above, of performance reports for each fiscal year, the structure changes from year to year and no naming protocol for folders exists. SharePoint makes it too easy to import documents in the same nested structure we&rsquo;ve used for decades for file shares. So we just do it.</p> <p>Don&rsquo;t.</p> <p>SharePoint offers much better tools for users to access and interact with documents.</p> <p>&nbsp;</p> <p style="text-align:center"><img alt="SharePoint flattened data structure" loading="lazy" src="/Images/Blogs/NWS/sharepointnextedfolders2.png?Large" /></p> <p>&nbsp;</p> <p>Instead of perpetuating this nested folder structure, flatten the data into a single view. That is, all the documents should be at the same level. Then create columns for fields, such as Year or Department, and &ldquo;tag&rdquo; data with the appropriate fields. Under this regimen, users will be able to filter by year or department instead of searching through folders to find the documents they seek.</p> <p>&nbsp;</p> <h2>The Problem with Nested Sites</h2> <p>In essence, site structure in SharePoint mirrors a nested folder structure. You typically have one root site that becomes the main site, and department sites live under the root site. Many organizations misuse or overuse nested sub-sites and make their data unmanageable.</p> <p>&nbsp;</p> <p><img alt="SharePoint subsites structure" loading="lazy" src="/Images/Blogs/NWS/sharepointnestedfolders3.png" />&nbsp;<img alt="Dropdown menu showing option to add a SharePoint subsite" loading="lazy" src="/Images/Blogs/NWS/sharepointnestedfolders4.png" />&nbsp;</p> <p>&nbsp;</p> <p>The site contents view makes it easy for anyone to add a subsite when they really ought to just add a page, list, or document library to an existing site.</p> <p>Consider setting a limit on levels of navigation in your SharePoint environment. You might even turn off the ability to add sub-sites.</p> <p>&nbsp;</p> <h2>Ways to Prevent Nested Information</h2> <p>All that being said, we understand that both document libraries and sub-sites can be useful. In principle, absolutely nothing is wrong with using them. But keep in mind that misusing their features can get you into trouble in maintaining content and site security in the long term.</p> <p>&nbsp;</p> <h3>Use Governance Policies</h3> <p>Have your governance team implement content publishing guidelines. A guidelines document provides a reference for use of certain features of SharePoint and disseminates rules on use of those features. It will serve your content managers well.</p> <p>What sort of guidelines might your governance team include?</p> <ul> <li>Turn off the ability to add folders in SharePoint lists and document libraries. This can be done manually, at the list level, or scripted in PowerShell to turn this setting off in all existing lists/document libraries.</li> </ul> <p style="text-align:center"><br /> <img alt="&quot;No&quot; radio button selected as an a setting to Make &quot;New Folder&quot; command available" loading="lazy" src="/Images/Blogs/NWS/sharepointnestedfolders5.png" /></p> <p>&nbsp;</p> <p style="text-align:center"><em>Turn off the ability to create folders in document library settings.</em><br /> <br /> &nbsp;</p> <ul> <li>Limit user permissions, so only content managers may add sub-sites to a site.</li> <li>Specify separate permissions for use cases in which a new sub-site is appropriate and for cases in which new content is better off as a page on the parent site.</li> </ul> <p>&nbsp;</p> <h3>Set Up a Framework for Managing Documents</h3> <p>Most companies that make the jump to SharePoint previously managed their documents in a messy file share like the one at the top of this story. Don&rsquo;t import old problems to a new platform.</p> <p>Instead of mimicking the folder structure of a file share, check out SharePoint&rsquo;s document libraries features. They give you capabilities beyond that of a regular file. For example, versioning can be turned on or off in document library settings. You can also add columns to &ldquo;tag&rdquo; data with standard values; under the old regime, this data would reside in inconsistently-named folders. Filter for data; don&rsquo;t hunt for it in a haystack of folders.</p>
/Northwoods-2020/Hero-Images/Hiker-Looking-Out-Over-Mountains.pngHiker Looking Out Over MountainsAaron Stearns | Amanda Aalpoel/Northwoods-2020/People/Aaron-Stearns.pngMan standing in front of a log cabin with soft, warm lighting<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/embed/v2.js"></script><script>hbspt.forms.create({ region: "na1", portalId: "23630176", formId: "40c5bbae-05a2-42ea-94dd-1662181fd56e" });</script>The Problem with Nested Folders and Sites on SharePoint2018-09-05T00:00:00/Images/Blogs/NWS/sharepointfiles.jpg?ThumbnailCloseup of hands typing on a laptop next to a cup of teaResist the temptation to misuse sub-sites in SharePoint. There are more efficient ways to structure site content without creating complicated nested information.3618711/People/Aaron-StearnsAaronStearnsSenior Full Stack Developer<p>Aaron is an Azure Certified full-stack developer with a knack for quickly making sense of complex business and technology process scenarios. With a strong focus on user experience, responsive design, and JavaScript API development, Aaron provides robust web sites and tools with a focus on quality over quantity. His techniques have tamed SharePoint environments, automated multi-level enterprise workflows, and delighted users with interactive dashboards. Away from the office, Aaron enjoys gaming, drawing, and taking care of his adopted backyard wildlife. (Be sure to ask about his squirrel cookie recipe!)</p>Aaron Stearns/Northwoods-2020/People/Aaron-Stearns.pngAaron StearnsAdd-In Type - NWS Data ModulesCategory - NWS Data ModulesCommittee - NWS Data ModulesDivision - NWS Data ModulesEvent Audience - NWS Data ModulesEvent Service - NWS Data ModulesEvent Type - NWS Data ModulesLocality - NWS Data ModulesModule - NWS Data ModulesPackage Type - NWS Data ModulesPersonID - NWS Data ModulesAaron StearnsProductVersion - NWS Data ModulesRecorded Webinar TopicsRegion - NWS Data ModulesSite Display - NWS Data ModulesSkillLevel - NWS Data ModulesTopic - NWS Data ModulesVideoAudience - NWS Data ModulesVideoClassification - NWS Data ModulesVideoStatus - NWS Data ModulesTeamAll StaffDevelopers3618813/People/Amanda-AalpoelAmandaAalpoelSenior Web Developer<p>Amanda is a full stack developer with a talent for improving interface designs, navigating the complexities of custom web app development, and Azure resource administration. She&rsquo;s experienced in SharePoint site intranet customization and business intelligence reporting and is certified as an Azure Developer Associate. Amanda enjoys getting to know clients and their specific needs to produce results that are functional, modern, and sustainable. In her free time, she enjoys video games and hanging out with her dog Leia.</p>Amanda Aalpoel/Northwoods-2020/People/Amanda-Aalpoel.jpgAmanda AalpoelAdd-In Type - NWS Data ModulesCategory - NWS Data ModulesCommittee - NWS Data ModulesDivision - NWS Data ModulesEvent Audience - NWS Data ModulesEvent Service - NWS Data ModulesEvent Type - NWS Data ModulesLocality - NWS Data ModulesModule - NWS Data ModulesPackage Type - NWS Data ModulesPersonID - NWS Data ModulesAmanda AalpoelProductVersion - NWS Data ModulesRecorded Webinar TopicsRegion - NWS Data ModulesSite Display - NWS Data ModulesSkillLevel - NWS Data ModulesTopic - NWS Data ModulesVideoAudience - NWS Data ModulesVideoClassification - NWS Data ModulesVideoStatus - NWS Data ModulesTeamAll StaffDevelopersAdd-In Type - NWS Data ModulesCategory - NWS Data ModulesCommittee - NWS Data ModulesDivision - NWS Data ModulesEvent Audience - NWS Data ModulesEvent Service - NWS Data ModulesEvent Type - NWS Data ModulesLocality - NWS Data ModulesModule - NWS Data ModulesPackage Type - NWS Data ModulesPersonID - NWS Data ModulesAaron StearnsAmanda AalpoelProductVersion - NWS Data ModulesRecorded Webinar TopicsRegion - NWS Data ModulesSite Display - NWS Data ModulesNWS DigitalSkillLevel - NWS Data ModulesTopic - NWS Data ModulesSoftware DevelopmentVideoAudience - NWS Data ModulesVideoClassification - NWS Data ModulesVideoStatus - NWS Data Modules02023-01-31T11:11:02.63700