Hello
If its possible to have different header color for each entity (e.g. Account - red, lead - green)?If its possible to do with system customization without any coding?
Thanks
*This post is locked for comments
Hello
If its possible to have different header color for each entity (e.g. Account - red, lead - green)?If its possible to do with system customization without any coding?
Thanks
*This post is locked for comments
Thank you all for your responses.
Hi,
There is no supported way you can change the color of entity header in Dynamics 365 and without code unfortunately its not possible. There is only new feature available to change the section header color inside form . You can have a look -
www.marksgroup.net/.../dynamics-365-customize-subgrid-header-colors
Hi There,
in dynamics 365 , max what you can do in a supported way is just color entity subgrids header : rawishblog.wordpress.com/.../color-subgrid-in-microsoft-dynamics-crm-365
apart from it if you are trying to achieve anything, its going to be unsupported( untill ofcourse you will like to develop your own custom HTML)
Hi,
No it is not possible to achieve this with customization. You can't even change the colors with code using supported methods.
Hope this helps.
You can have a webresource HTML page, add a color banner with a <div> and bgcolor.
Embed that with different color in each entity form as first control in first section/tab.
This is supported.
Hi,
you cant achieve it without coding and this is not supported. Please beware by using code above, it might breaks in future update.
Hi,
You can refer following code for reference:
////////////////////////////////To Set Styling of form elements//////////////////////////////////////////////////////////////////////////////////
function tab_color() {
///////Section Heading Row color////////////////////////////
//.ms-crm-Inline-Value label{font-size:14px;font-family:'Segoe UI', Tahoma, sans-serif;font-style:normal;color: yellow;}
debugger;
var formsection = document.getElementsByClassName("ms-crm-Inline-Value");
for (i = 0; i < formsection.length; i++)
{
formsection[1].style.backgroundColor = "rgb(33,91,154)";
formsection[1].style.padding = "5px";
}
// var formsection_heading = document.getElementsByClassName("ms-crm-Form");
// for (i = 0; i < formsection_heading.length; i++)
// {
// formsection_heading[i].style.color = "red";
// formsection_heading[i].style.fontSize = "12px";
// }
// var Heading_section = document.getElementsByClassName("ms-crm-Form");
// for (i = 0; i < Heading_section.length; i++)
// {
// Heading_section[i].style.color = "#ffffff";
// }
// var label_font = document.getElementsByClassName("ms-crm-InlineEditLabel");
// var i;
// for (i = 0; i < label_font.length; i++)
// {
// label_font[i].style.fontSize = "11px";
// }
}
////////////////////////////////call on form load//////////////////////////////////////////////////////////////////////////////////
Also you need to check logical name and based on name you can change color.
var EntityName = Xrm.Page.data.entity.getEntityName();
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156