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


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


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


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

Save the contract to the Document Library


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

Notice the Add Document button?


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


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


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

Edit tool by Properties


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?


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


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

Go to Home Page


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


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


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


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

Agile Methodology in Project Management

0 166 0

In this video, you will gain an understanding of Agile and Scrum Master Certification terminologies and concepts to help you make better decisions in your Project Management capabilities. Whether you’re a developer looking to obtain an Agile or Scrum Master Certification, or you’re a Project Manager/Product Owner who is attempting to get your product or … Continue reading Agile Methodology in Project Management

Creating Users and Managing Passwords in Microsoft Office 365

0 717 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    

JavaScript for C# Developers – September 24, 2014

0 495 3

Is JavaScript worth taking the time to learn if I’m a server-side .NET developer? How much of C# carries over to JavaScript? In this recorded video from Dan Wahlin’s webinar on September 24,2014, Dan answers these questions and more while also discussing similarities between the languages, key differences, and the future of JavaScript (ES6). If … Continue reading JavaScript for C# Developers – September 24, 2014

Write a Comment

See what people are saying...

    Share your thoughts...

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