Renaming Fields on PDPs

Posted By Posted by: EPM Partners on February 4, 2013


Need to change the default project field “Owner” to another custom name such as “Project Manager”



  • This is a little bit of a hack to rename the “Owner” field on the page it is displayed in without changing internally on the back end.
  • The solution only updates the text displayed on the page using javascript

On the PDP, add a content editor web part below the respective project field web part and click “Edit Html Source” as shown below

Copy the following script into the textbox as shown in screenshot below

<script type=”text/javascript”>

var ttnA = document.getElementsByTagName(“div”);

for (var j=0; j < ttnA.length; j++)


var orig = ttnA[j].innerHTML;

var stripped = orig.replace(/^\s*/, “”).replace(/\s*$/, “”);

if (stripped == “Owner”)


ttnA[j].innerHTML=”Project Manager”




Save the PDP

Blog Posted In Blog Posted In: How to
Blog Posted In 

Leave a Reply

Your email address will not be published.