In this SharePoint customization tutorial, we will discuss how to change add new item link sharepoint 2013 or change add new item link sharepoint 2010. Also, how to remove add new item link from a sharepoint list view and how to remove add new item link in sharepoint 2010/2013.
The example, I have taken from a SharePoint 2010 list and library, but almost the same way you can change add new item text in SharePoint 2013 or SharePoint Online.
We will see how to change “Add new item” link text which comes in any SharePoint list by using JavaScript inside a Content Editor web part in SharePoint 2010.
By default in each SharePoint list, Add new item comes like this:
SharePoint Tutorial Contents
Now, we will see how to change Add New Item link text in SharePoint 2010 list by using JavaScript which we can add inside a content editor web part.
Edit the page first and then insert a content editor web part (From the ribbon click in Inset then select web part. Then from the list of web part categories, select Media and Content category and then Select Content editor web part).
Then select the content editor web part and then go to Edit HTML Source as shown in the fig below:
Then in the HTML Source editor write the below piece of JavaScript:
<script type="text/javascript">
document.getElementById("idHomePageNewItem").innerHTML="Add New Leave Form"
</script>
Then Save the page and Refresh the page in SharePoint. Now the new text (Add New Leave Form) will come instead of Add new item.
This is how we can change Add New Item text using JavaScript in SharePoint.
In the same way you can change add new item text in sharepoint 2013.
Now we will see how to replace Add New Item text in SharePoint 2010 list using a designer. We can change that text using SharePoint designer.
Open the SharePoint site using SharePoint designer 2010. Click on the particular list from the site objects and then click on the All Items view from the views section as shown in the fig below:
Then from the Ribbon select the Design tab and then select Options and then click on Summary Toolbar as shown in the fig below:
Then select the Add new item text and click on Hyperlink Options as shown in the fig below. And then click on Yes on the Confirm dialog box.
Then in the Edit Hyperlink dialog box Edit the Text to display textbox and put whatever content you want to give as shown in the fig below:
Then click on Ok and Save the page. Now refresh the page, you will able to see the updated text as shown in the fig below:
This is how we can change Add New Item link text using SharePoint designer.
Now, we will see how to remove add new item link from a sharepoint list view. Here, we will see how to remove add new item link from a sharepoint 2010 list view.
We can hide/delete Add New Item link from the SharePoint list using the below approach.
Open the SharePoint list, then Edit the page in a browser like below:
Then click on Edit Web Part as shown in the figure below for the list for which you want to remove the add new item link.
Then from the Edit window, Change Toolbar Type to “No Toolbar” as shown in the fig below.
Then click on OK and then Save the page. Now the “Add new item” link will not come.
We can also remove the list by using SharePoint designer 2010.
Open the page in SharePoint designer 2010, then select the section in the list, press the Delete button as shown in the fig below.
You may like following SharePoint customization tutorials:
- How to hide Notebook and Site contents from quick launch in SharePoint Online
- Add JSLink in Task List View in SharePoint Online
- Add heading in the default newForm.aspx in SharePoint list using JavaScript and CSS
- Change column ordering in list forms in SharePoint Online/2013/2016
- Change welcome page in SharePoint Online/2013/2016
- Left Navigation or Quick Launch Customization or Branding using CSS in SharePoint Online/2013/2016
- Change default list view style using CSS in SharePoint Online/2016/2013
- Disable or Hide Sync Button at SharePoint Online Site and Document Libraries Level
- Make Title field read-only using SPClientTempltes and JSLink in SharePoint Online
- Hide Edit Links option in SharePoint 2013/2016/Online
- Cascading Dropdown in SharePoint List using jQuery
In this SharePoint tutorial, we learned how to change add new item link sharepoint 2010/2013 and how to remove add new item link from a sharepoint list view. We can easily remove add new item from SharePoint list. So this is how you can remove add new item link in sharepoint 2013.
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 SPGuides.com