RE: Can i change Label shown in header while creating new Contact Record in Dynamics 365 CRM
Hello Partner,
Unfortunately, there's no supported way for your needs. Nevertheless, it can be handled with javascript which must be maintained. This code works for classic UI Only.
function changeLabelForm(executionContext) {
var frame0 = window.top.frames[0];
var formTitleElement = frame0.document.getElementById("FormTitle");
if (formTitleElement == null) {
setTimeout(function () { changeLabelForm() }, 2000);
}
else {
frame0 = window.top.frames[0];
formTitleElement = frame0.document.getElementById("FormTitle");
var newFormTitleElement = window.top.frames[0].document.createElement("div");
newFormTitleElement.id = "FormTitle";
newFormTitleElement.setAttribute("class", "ms-crm-Form-Title-Data ms-crm-Form-Title-Position");
newFormTitleElement.setAttribute("role", "alert");
newFormTitleElement.innerHTML = "New Candidate
";
formTitleElement.parentNode.replaceChild(newFormTitleElement, formTitleElement);
}
}
this is the result:
Please close the tread if the answer is helpful
Mehdi