Thursday, June 24, 2010

How to modify header of CRM entity form

CRM single-record form always displays the same word 'Information' in the header area below entity name. This area can be reused to display something more meaningful about the record using simple script below:

var headerElement = document.getElementById("leftNavBreadcrumbText");

if (headerElement != null) {
//Can change style in any way
// headerElement.style.color = [Select color];
headerElement.innerHTML = 'More info about this record...';
}

No comments: