Monday, January 13, 2014

Replace "Add New Item" Link Text to something Different Link Text in SharePoint 2010

This article explore to  user's requirement is to change "Add New Item" link text to " Different Link text", so that it will be more meaningful on list.

Also you can check out some posts on:

- Setup Alerts in SharePoint 2013

- Disable default email for approval workflow in SharePoint 2010 designer

- Bind dropdownlist from SharePoint list in InfoPath 2010

By default the "Add new item" appears like below:

replace add new item text sharepoint list

Follow below steps to change the text:

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. check fig below:


replace add new item text sharepoint 2010 list

4. In Content Editor web part enter the script:

<script type="text/javascript">
  document.getElementById("idHomePageNewItem").innerHTML="Add New InterviewTracker"
</script>

5. Save the page! see the result in action, it will appear like below:

replace add new item text sharepoint 2013 list

No comments:

Post a Comment