SharePoint 2010 Change text of add new item

Creating a list is normally not that difficult. But if you use the list in order to manage travel requests, vacation requests or any requests, you might don’t like the text of the link “add new item” below the listview which comes with the standard.

If the user wants to make a new request of whatever, he expect that there is a link to add a new request of whatever and not add new item. You maybe like to have something like

  • request travel
  • request vacation
  • add new request XX
  • and new project request

Whatever you want to have there, it is possible just by using the SharePoint Designer. You just have to open the view of the list in SPD and . You should look for this lines of code:

[sourcecode language=”csharp”]



[/sourcecode]

and replace the <xsl:valu-of-select=”$AddNewText” /> with your desired text:

[sourcecode language=”csharp”]


Add new Task

[/sourcecode]

You’re done. The output should look like this:

I recommend you to read also this post. There is another possibility by using javascript.

..:: I LIKE SHAREPOINT ::..

The article or information provided here represents completely my own personal view & thought. It is recommended to test the content or scripts of the site in the lab, before making use in the production environment & use it completely at your own risk. The articles, scripts, suggestions or tricks published on the site are provided AS-IS with no warranties or guarantees and confers no rights.

About Karsten Schneider 312 Articles
Consultant for Microsoft 365 Applications with a strong focus in Teams, SharePoint Online, OneDrive for Business as well as PowerPlatform with PowerApps, Flow and PowerBI. I provide Workshops for Governance & Security in Office 365 and Development of Solutions in the area of Collaboration and Teamwork based on Microsoft 365 and Azure Cloud Solutions. In his free time he tries to collect tipps and worthy experience in this blog.