Change the Left Naviation Item on Form in Dynamics CRM 4.0
December 12, 2011 Leave a Comment
Today, I got the requirement for changing the Letf Naviation item on Form in Dynamics CRM 4.0
By default, it will display ‘Information’ but we have to change the ‘Initial Case’
for that, Here I am developed the JavaScript.
Form, OnLoad Event
function leftNavRename(leftNav, oldName, newName)
{
var navItem = document.getElementById(leftNav);
if(navItem != null)
{
navItem.innerHTML = navItem.innerHTML.replace(oldName, newName);
navItem.innerHTML = navItem.innerHTML.replace(oldName, newName);
}
}
// Rename Information to Inital Case
leftNavRename(‘navInfo’,'Information’,'Initial Case’);