{"id":7443,"date":"2017-02-18T15:33:25","date_gmt":"2017-02-18T22:33:25","guid":{"rendered":"https:\/\/www.zubairalexander.com\/stage\/?p=7443"},"modified":"2019-09-18T19:38:06","modified_gmt":"2019-09-19T02:38:06","slug":"best-practices-for-setting-up-a-new-library-in-sharepoint-2016-and-sharepoint-online","status":"publish","type":"post","link":"https:\/\/www.zubairalexander.com\/blog\/best-practices-for-setting-up-a-new-library-in-sharepoint-2016-and-sharepoint-online\/","title":{"rendered":"Best Practices for Setting Up a New Library in SharePoint 2016 and SharePoint Online"},"content":{"rendered":"<p>In this article, I will share some of the best practices for setting up a new document library in SharePoint 2016 and SharePoint Online. Depending on your environment and business policies, you may need to adjust some of these settings to fit your need. For example, in Step #3 Enable Versioning, the image shows an option for enabling only major versions. However, you may be interested in both minor (draft) and major (published) versions in your environment. Use these settings as a guideline and modify them as necessary to fit your environment. The option #7 is recommended for 99.99999% of the environments. You get the hint :).<\/p>\n<p><strong>#1 \u2013 Delete the Default Documents Library<\/strong><\/p>\n<p>Whenever you create a new site, delete the default Documents library created by SharePoint because it contains a space in the name. Microsoft creates the library with a space (a bad practice) and then renames it to Documents. This is exactly the opposite of what Microsoft should have done. The library should have been created without a space and called Documents and then it should be renamed to Shared Documents so that it will become more readable and won&#8217;t have the space in the URL. Using spaces in the library name is not recommended because each space adds three extra characters (%20) in the URL. Not only this makes it difficult to read the URL, it also makes the URL longer. If you go over the recommended URL length (256 characters), you may not be able to open the file and SharePoint will not give you any warnings as to why the file cannot be open. For more information check out my blog post <a href=\"https:\/\/www.zubairalexander.com\/blog\/good-stuff-to-know-about-sharepoint-files-folders-urls-sites-and-the-like\/\">Good Stuff to Know About SharePoint Files, Folders, URLs, Sites and the Like<\/a>, or my eBook <a href=\"https:\/\/www.seattlepro.com\/sharepoint-2013-best-practices-ebook\/\">Best Practices for SharePoint 2013<\/a>.<\/p>\n<p>As a best practice, don\u2019t use spaces when you create the following.<\/p>\n<ol>\n<li>Site<\/li>\n<li>List<\/li>\n<li>Library<\/li>\n<li>Page<\/li>\n<li>Column<\/li>\n<li>View (if you sent a hyperlink to a view in an e-mail it can potentially break the hyperlink so it&#8217;s best to avoid spaces, or to use underscore instead of a space to make it more readable)<\/li>\n<\/ol>\n<p><strong>#2 \u2013 Create a New Document Library without a Space in the Name<\/strong><\/p>\n<ol>\n<li>Create a new document library, e.g. <strong>SharedDocs<\/strong>, without a space in the name.<\/li>\n<li>After the library is created, rename the document library in <em>Library Settings -&gt; Title, description and navigation<\/em> to <strong>Shared Documents<\/strong> or whatever else you want to call it. This makes the library more readable but keeps the name of the library in the URL as SharedDocs, which doesn\u2019t contain a space.<a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/change_title.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-5289\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/change_title.png\" alt=\"change_title\" width=\"232\" height=\"195\" \/><\/a><\/li>\n<\/ol>\n<p><strong>#3 \u2013 Enable Versioning<\/strong><\/p>\n<p>In the Library Settings, go to <em>Versioning settings<\/em> and select from one of the two options.<\/p>\n<ol>\n<li><em>Create major versions<\/em><br \/>\nOR<\/li>\n<li><em>Create major and minor (draft) versions<\/em><\/li>\n<\/ol>\n<p>Limit the number of versions to retain to no more than 10. Five or less is even better. If you select the option to create both major and minor versions then make sure you also limit the number of minor versions.<\/p>\n<p><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/major_versions.png\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-5290\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/major_versions-300x192.png\" alt=\"major_versions\" width=\"300\" height=\"192\" srcset=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/major_versions-300x192.png 300w, https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/major_versions.png 424w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>SharePoint Online<\/strong> is part of Office 365 and is managed by Microsoft in the cloud. The default setting in SharePoint Online allows 500 major versions. That&#8217;s a ridiculously high number of major versions. Obviously, the more versions you save,\u00a0the more storage space you will use. The more storage you use, the more money Microsoft makes. Most, if not all, businesses do not need so many versions of each document. However, if your company is an exception and you do have a need for so many versions, then don&#8217;t make the change. The maximum number of major and minor versions allowed in SharePoint Online is 99999.<\/p>\n<p><strong>#4 \u2013 Require Documents to be Checked Out<\/strong><\/p>\n<p>This option is located in the <em>Library Settings<\/em> under <em>Versioning settings<\/em> and is disabled by default<em>.\u00a0<\/em><span style=\"background-color: #ffff99;\">This step is only necessary if you plan on using the Check-in\/Check-out feature<\/span>, which allows documents to be checked out before they can be edited. By checking out the document, you are preventing others from making modifications until you check them back in.<\/p>\n<p><strong>NOTE<\/strong>: <em>SharePoint 2016 and SharePoint Online allow multiple people to edit a document simultaneously, without overwriting each other&#8217;s edits. Therefore, enabling this feature is often not necessary.<\/em><\/p>\n<p><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/RequireCheckout.png\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-5291\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/RequireCheckout-300x149.png\" alt=\"RequireCheckout\" width=\"300\" height=\"149\" srcset=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/RequireCheckout-300x149.png 300w, https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/RequireCheckout.png 426w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>#5 \u2013 Allow Management of Content Types<\/strong><\/p>\n<p>If you are working with Content Types then this setting applies to you. If you don&#8217;t know what Content Types are and how to use them, then don&#8217;t enable this option.<\/p>\n<p>In the Library Settings, select the hyperlink for <em>Advanced settings<\/em> and set the option to <em>Allow management of content types<\/em> to <em>Yes<\/em>.\u00a0By enabling this feature, the Content Types section is added to the Library Settings area.<\/p>\n<p><strong>NOTE:<\/strong>\u00a0<em><span style=\"color: #000000;\">You will only need this option if you are working with Content Types<\/span>.<\/em><\/p>\n<p><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/AllowManagementOfContentTypes.png\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-5292\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/AllowManagementOfContentTypes-300x95.png\" alt=\"AllowManagementOfContentTypes\" width=\"300\" height=\"95\" srcset=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/AllowManagementOfContentTypes-300x95.png 300w, https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/AllowManagementOfContentTypes.png 446w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>#6 \u2013 Configure the Option for Opening Documents in the Browser<\/strong><\/p>\n<p>In the Library Settings, select the hyperlink for <em>Advanced settings<\/em> and configure the option for opening documents in the browser to <em>Open in the client application<\/em>.<\/p>\n<p><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/OpenInClientApp.png\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-5293\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/OpenInClientApp-300x88.png\" alt=\"OpenInClientApp\" width=\"300\" height=\"88\" srcset=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/OpenInClientApp-300x88.png 300w, https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/OpenInClientApp.png 569w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>#7 \u2013 Disable the Use of Folders in Libraries<\/strong><\/p>\n<p><span style=\"background-color: #ffff99;\">If you only want to make one change in your library settings, this should be the one.<\/span> By default, the option to create a folder is disabled in lists, but enabled\u00a0in the libraries. Folders are old way of organizing data and are discouraged in SharePoint because they make it difficult to organize and work with\u00a0data.<\/p>\n<p>In the Library Settings, select the hyperlink for Advanced settings and set the option to <em>Make \u201cNew Folder\u201d command available?<\/em> to No. As I mentioned earlier, almost every organization should make this change.<\/p>\n<p><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/NoFolders.png\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-5294\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/NoFolders-300x65.png\" alt=\"NoFolders\" width=\"300\" height=\"65\" srcset=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/NoFolders-300x65.png 300w, https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/NoFolders.png 465w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>#8 \u2013 Create a New Default View<\/strong><\/p>\n<p>Instead of modifying the default view, create your own custom default view.<\/p>\n<ol>\n<li>Go to the document library, e.g. Documents, and on the Library tab select <em>Create View<\/em>.<br \/>\n<a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/CreateView.png\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-5295\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/CreateView-300x107.png\" alt=\"CreateView\" width=\"300\" height=\"107\" srcset=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/CreateView-300x107.png 300w, https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/CreateView.png 366w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\n<li>In the <em>Chose a view format section<\/em> select<em> Standard View<\/em>.<\/li>\n<li>In the <em>View Name<\/em> box enter <em>Default_View<\/em>.<\/li>\n<li>Select the option to <em>Make this the default view<\/em>.<\/li>\n<li>Customize the columns that will be displayed. Your screen may not look exactly like the screenshot below but you get the idea.<span style=\"text-decoration: underline;\"><br \/>\nNOTE<\/span>: The Document ID column is only available if the feature has been enabled at the Site Collection level by the SharePoint administrator.<a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/Default_View.png\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-5296\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/Default_View-222x300.png\" alt=\"Default_View\" width=\"222\" height=\"300\" srcset=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/Default_View-222x300.png 222w, https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/Default_View.png 439w\" sizes=\"(max-width: 222px) 100vw, 222px\" \/><\/a><\/li>\n<\/ol>\n<p><strong>#9 \u2013 Save the Document Library as a Template<\/strong><\/p>\n<p>Save the document library as a template before you add any data. Name the template something like <em>Document Library Template<\/em> and let other Site Administrators know to use this library as a template when they create new document libraries. The option to <em>Save document library as template<\/em> is available in SharePoint 2016 in the <em>Permissions and Management<\/em> section of the Library Settings.<\/p>\n<p><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/Save_Library_As_Template.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-5297\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2015\/01\/Save_Library_As_Template.png\" alt=\"Save_Library_As_Template\" width=\"293\" height=\"271\" \/><\/a><\/p>\n<hr \/>\n<p><span style=\"font-size: xx-small; font-family: Verdana;\">Copyright \u00a92017 SeattlePro Enterprises, LLC. All rights reserved.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, I will share some of the best practices for setting up a new document library in SharePoint 2016 and SharePoint Online. Depending on your environment and business policies, you may need to adjust some of these settings to fit your need. For example, in Step #3 Enable Versioning, the image shows an [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":11219,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[43,63,54,11],"tags":[],"class_list":["post-7443","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-articles","category-office-365","category-sharepoint","category-tips-tricks"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2017\/02\/SP2016_logo_250x250.png","_links":{"self":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts\/7443","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/comments?post=7443"}],"version-history":[{"count":0,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts\/7443\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/media\/11219"}],"wp:attachment":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/media?parent=7443"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/categories?post=7443"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/tags?post=7443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}