Change "Add New Item" Link Text to something more descriptive
Requirement:
End user's requirement is to change "Add New Item" link text to "Add New Risk Metrics" , so that it will be more meaningful on Risk metrics list.
Solution:
In Content Editor Web Part, Place JavaScript that manipulates Add New Item text. In Detail:
1. Go to the target page >> Site actions>> Edit Page
2. Insert a CEWP just below the list view web part.
3. Place the cursor in CEWP, Click on "Edit HTML Source" link from HTML Ribbon Item's drop down menu.
4. In Content Editor web part enter the script:

5. Save the page! see the result in action.

Use IE Developer Toolbox or Firefox Firebug to get the ID of similar links in other lists and libraries. E.g. For document library it is: "idHomePageNewDocument"
Tail:
Remove add new item link SharePoint 2010:
Edit the page and change List view web part's Toolbar Type to "No Toolbar" . If you see add new item link missing sharepoint 2010, change the list view web part's toolbar type to something other than "No Toolbar".
Change new item text in SharePoint 2013:
End user's requirement is to change "Add New Item" link text to "Add New Risk Metrics" , so that it will be more meaningful on Risk metrics list.
![]() |
SharePoint 2010 change add new item text |
In Content Editor Web Part, Place JavaScript that manipulates Add New Item text. In Detail:
1. Go to the target page >> Site actions>> Edit Page
2. Insert a CEWP just below the list view web part.
3. Place the cursor in CEWP, Click on "Edit HTML Source" link from HTML Ribbon Item's drop down menu.
4. In Content Editor web part enter the script:
<script type="text/javascript"> document.getElementById("idHomePageNewItem").innerHTML="Add New Risk Metrics" </script>

5. Save the page! see the result in action.

Use IE Developer Toolbox or Firefox Firebug to get the ID of similar links in other lists and libraries. E.g. For document library it is: "idHomePageNewDocument"
Tail:
Remove add new item link SharePoint 2010:
Edit the page and change List view web part's Toolbar Type to "No Toolbar" . If you see add new item link missing sharepoint 2010, change the list view web part's toolbar type to something other than "No Toolbar".
Change new item text in SharePoint 2013:
<script type="text/javascript"> window.onload=function(){ document.getElementById("idHomePageNewItem").innerHTML="Create New Change Request"; } </script>
Change "Add New Item" Link Text to something more descriptive
Reviewed by Salaudeen Rajack
on
February 01, 2013
Rating:

Thanks - that fixed my issue perfectly!
ReplyDeleteBut when we add content editor web part on the page (In SharePoint 2013) we loose Item and List tool bar.
ReplyDeleteCan anyone help me on this.
I don't want to loose item and list tool bar and i want to Change "new discussion" in discussion board list.
Thank you for this. What is the string for FORM Library please?
ReplyDeleteFor Forms Library: idHomePageNewItem-WPQ2 , Document Library: idHomePageNewDocument
DeleteThanks but works fine when only one list is on the page. How to change it for the second or third list?
ReplyDeleteHi Michael,
Deletedid you solve it?
I've the same issue to manage...
tks
Hi I have same issue as Michael Hornef. How do I use this for multiple lists on a single page. Thanks.
ReplyDeletedoes anyone know the string or ID for a discussion board? I cannot find it in my developer tools in IE.
ReplyDeleteidHomePage????
thanks
- Dave
Does anyone know the string or ID for a dicussion board? I cannot find this in my developer tool options.
ReplyDeleteidHomePage??????
For the discussion board, try this... "forum0-NewPostLink"
ReplyDeleteIf you use "forum0-NewPostLink as the ID if you click on What's hot, My discussions or Recent the index changes, i.e "forum1-NewPostLink", "forum2-NewPostLink" and so on. Is there another way to change the text of add new discussion where it doesn't rely on the exact ID?
ReplyDelete