Thursday, September 2, 2010

How to disable the "New Folder" option in a document library in Sharepoint

When we go to a document library in a Sharepoint Site, we often see an option on the top as "New" which provides us an option to create a new document or new folder.

There may be a requirement which may come up that folder creation should be restricted for a particular document library.

We can follow the below steps to implement the same -

1> Open the Document library and click on "Settings" tab which comes besides the "Actions" tab.
2> Then select the "Document Library Settings"
3> Now go to "Advanced Settings" link and click on it.
4> There you will find out there is a "Folder" section, where it asks "Display "New Folder" command on the New menu?". Select the option as "No".

Then we are done. Go back to the Document library and click "New". you will get only the "New Document" option.

I would this implementation to be done for small Document Libraries. But for large Document Libraries, it is advisable to split the documents into various folders which inturn would improve the performance.

Hope this helps someone.

2 comments:

  1. Thanks! It helped me to turn this of users were copying their exact folder structure to sharepoint and not benefiting from the abilities of sharepoint to use metadata.

    ReplyDelete
  2. Most stupid article ever. Any SharePoint Admin/Dev worth anything would know this. The trick is how do you disable folder option by default? That is, when you create a new DL, the folder option should be disabled.

    ReplyDelete