Remove Add document link from document library in SharePoint 2010

SharePoint deveopment training course
In this post, we will discuss how we can remove the + Add document link from the document library in SharePoint 2010.
Also, you can check out my previous posts on:
There are different ways to remove the + Add link from the document library.
This links usually appears to add new documents to the document library.
Remove Add document link from document library in SharePoint 2010
Remove Add document link from a document library in SharePoint 2010
– By using Browser:
To hide through the browser, first, edit the page and edit the webpart. And from the Tool bar Type, Select NoToolBar. This option will hide the + Add document option.
– By Setting Permission:
If you will give Read permission to the user, then they will not able to see the + Add document option.
– By using jQuery:
Through jQuery we can hide the + Add document link. Add one Content Editor webpart and put the below code in the page:
$(document).ready(function()
{
$(‘#WebPartWPQ2 .ms-addnew’).hide();
});
– By using SharePoint 2010 Designer:
Open the Page using SharePoint 2010 designer, Search for class=”ms-addnew” And then add one style attribute which will set to display: none like below:
Style=”display:none”
Check out Best Alternative to InfoPath -> Try Now

free sharepoint training

SharePoint Online FREE Training

JOIN a FREE SharePoint Video Course (3 Part Video Series)

envelope
envelope

About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

View all posts by Bijay Kumar →