Change the Left Naviation Item on Form in Dynamics CRM 4.0

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’);

Advertisement

Leave a Reply

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 )

Connecting to %s

Follow

Get every new post delivered to your Inbox.