Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Implement CSS in MS Dynamic CRM (On Premise) 2016

(0) ShareShare
ReportReport
Posted on by

Hi All,

I have to implement CSS on Case screen mainly and I am using instructions given in following articles. However I am not able to see the changes after its implementation.

http://www.codeproject.com/Articles/1032318/Improve-user-experience-by-styling-and-coloring-Mi

https://snataw.wordpress.com/2014/01/30/prettify-entity-form-in-crm-2013/#more-317

https://www.linkedin.com/pulse/how-colorize-microsoft-dynamics-crm-20132015-crm-consultant

Please help.

Thanks & Regards,

Vivek

*This post is locked for comments

  • Verified answer
    JohnAnonymous Profile Picture
    5,241 on at
    RE: Implement CSS in MS Dynamic CRM (On Premise) 2016

    You can't change the CSS through the Xrm.Page object model.

    If you read the blogs carefully you will see it uses other methods to set the styling. Other than that, I don't think you will find a lot of help here doing these customizations. And most will strongly advise to not do these kind of customizations. If you need these type of solutoins, building a web resource is a far better idea.

  • Community Member Profile Picture
    on at
    RE: Implement CSS in MS Dynamic CRM (On Premise) 2016

    Hi Vijay,

    Thanks for the response. But I want to proceed to make changes on case main form using CSS as per my requirement.

    If I execute following code on load of case form to change title then also there is no change in "Case Title" label.

        Xrm.Page.getControl("title").getLabel().fontcolor = '#ff0000';

       Xrm.Page.getControl("title").getLabel().fontsize = '120px';

       Xrm.Page.getControl("title").getLabel().bold = true;

    Please help in using CSS on CRM pages.

    Regards,

    Vivek

  • Suggested answer
    Kumar Viju Profile Picture
    1,026 on at
    RE: Implement CSS in MS Dynamic CRM (On Premise) 2016

    Hi,

    This is Unsupported Customization. The Claim made by the blogger on Code Project as supported customization is not correct.

    https://msdn.microsoft.com/en-us/library/gg328350.aspx 

    Modifications to any .aspx, .css, .htm, .js, .xml, .jpg, or .gif files or the addition of files in the wwwroot directories of the Microsoft Dynamics CRM application, Microsoft Dynamics CRM tools, or Microsoft Dynamics CRM files located at Program Files\Microsoft Dynamics CRM. However, if you have made changes to these files, these files are checked for modifications and will not be overwritten.

    If you still go ahead with this changes then Microsoft will not provide you any support for future update. You can open support ticket with Microsoft to verify if you can go ahead with this approach.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans