Rename New Item link in SharePoint 2013

Let us see how to rename “New Item” link in SharePoint 2013 to custom text with respect to SharePoint list name. Say,  For example: If there is a Project list, we need to rename New Item to Add new Project. In such cases, you can follow the below steps:

  • Go to the desired page and edit it
  • Add a Script editor Web Part available under Media and Content Category
  • Copy and paste the below in the script editor web part.
<script src="../Scripts/jquery.min.js"></script>
<script>
_spBodyOnLoadFunctionNames.push("ChangeText");
function ChangeText()
{
document.getElementById("idHomePageNewItem").getElementsByTagName("span")[1].innerHTML="Add New Project";
}
</script>

Please do not forget to like or rate this article 😛

Advertisements

Leave a Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s