How to hide the Add Document Button in SharePoint 2010

Home > Blogs > SharePoint > How to hide the Add Document Button in SharePoint 2010

How to hide the Add Document Button in SharePoint 2010

Like This Blog 5 Spike Xavier
Added by May 1, 2013

In one of my previous blog posts: Create a Custom Content Type In SharePoint 2010, I've received a number of similar questions, “Problem is that you STILL have an "Add Document" button! Furthermore, when you save the completed form, SharePoint is going to ask you where to save it. That is not good if you have a bunch of not-too-savvy users.”

Since this is a very common question that comes up, I decided to create a blog to fix the issue. As it turns out, it's very easy to do.

Configure Content Type

Configure-Content-Type.png

I've configured the Shared Documents Library on an out-of-the-box Team Site to use the custom Content Type Legal Contract as the default Content Type of the Library. If not sure how to do this there is a blog post that steps you through the process: Create a Custom Content Type In SharePoint 2010
 

Create a Contract

Create-A-Contract.png

I start by adding a Contract using the New Icon button in the ribbon and selecting the Legal Contract Content Type (the only choice because of how I set up the library)

Fill out the DIP

Fill-Out-The-Dip.png

I fill out the contents of the Document Information Panel (DIP) and hit save.

Save the contract to the Document Library

Save-the-contract-to-the-document-library.png

I name the contract with the contract number and save it back to the Document Library.

Notice the Add Document button?

Notice-The-Add-document-Button.png

I adjusted the default view to show the Site Columns and Content Type. Notice the Add Document Button?  I want to get rid of this so users will only have the choice of using the New Button in the ribbon.

Edit the Page

Edit-The-Page.png

I go to Site Actions> Edit Page. Since this is a web part page, I will edit the properties of the Web Part to hide the Add Document button.

Edit Web Part

Edit-web-part.png

I use the drop down arrow of the Shared Documents Web part and choose Edit Web Part.

Edit tool by Properties

Edit-Toolbar-Properties.png

Using the drop down list of the Toolbar Type, I change the selection from Full Toolbar to No Toolbar and click OK

Notice Change in Web Part?

Notice-Change-in-web-part.png

I notice that the Add Document Button is now gone. I navigate away from the page and back to refresh the page to make sure the change took effect.

Browse Page to Verify

Browse-Page-To-Verify.png

Now I can clearly see the Add Document is missing, success! Now I'm going to update the Home Page.

Go to Home Page

Go-To-Home-Page.png

I navigate to the Home Page of the site, which also features a Web Part to interact with the Shared Documents Document Library and there's that old pesky Add Document button.

Edit Web Part

Edit-Web-Part_1.png

I click on the black ufo triangle to get to the Edit Web Part choice and click it (I just call it the black ufo triangle…don't ask why)

Edit Web Part Properties again

Edit-Web-Part-Properties-Again.png

I make sure the Selected View says "All Documents" and then change the drop down menu for Toolbar type to say No Toolbar, as pictured above, then click OK.

Verify the results

Verify-Results.png

Voilà, the Add Document button is gone!  That's how easy it is.

Spike Xavier
SharePoint Instructor – Interface Technical Training
Phoenix, AZ

Videos You May Like

Creating Users and Managing Passwords in Microsoft Office 365

0 643 3

In this Office 365 training video, instructor Spike Xavier demonstrates how to create users and manage passwords in Office 365.   For instructor-led Office 365 training classes, see our course schedulle: Spike Xavier SharePoint Instructor – Interface Technical Training Phoenix, AZ 20347: Enabling and Managing Office 365    

Using Navigation Controls in a Collaboration Site in SharePoint

0 338 1

In this SharePoint training video, I want to talk about the Navigation Controls in SharePoint. They tend to fall into two kind of different categories; one with the navigation controls in a typical Collaboration Site such as a Team Site or a Project Site. These are Sites that are based on the Team Site Template … Continue reading Using Navigation Controls in a Collaboration Site in SharePoint

Detailed Forensic Investigation of Malware Infections – April 21, 2015

4 608 5

How does an investigator hunt down and identify unknown malware? In this recording of our IT Security training webinar on April 21, 2015, Security expert Mike Danseglio (CISSP / CEH) performed several malware investigations on infected computers and identify symptoms, find root cause, and follow the leads to determine what’s happening. He demonstrated his preferred … Continue reading Detailed Forensic Investigation of Malware Infections – April 21, 2015

Write a Comment

See what people are saying...

  1. Avatar Baz

    but this will enable to tool bar.. how to dsiable the tool bar itself

  2. Avatar Patrick

    I knew this method, but there is a downsize ! When working with more than one language, the help text you provide on the “New Document” button in the ribbon is only displayed in the default language when the web part is changed. If you want to show the help text in other languages, you may not modify the toolbar of the web part.

  3. Avatar Paul H

    This is good to get it out of the list view. Is there a way to remove the “New Document” button form the library tools document ribbon?

  4. Avatar Knud Dahn

    hi Spike

    Nice work ! Very usefull information for me.
    Search for a solution, found it, and implemented.

    Perfect

  5. Avatar Jay

    This works great for a webpart but what about the document library itself.  Am I missing something?

Share your thoughts...

Please fill out the comment form below to post a reply.