web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

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

I have the same question (0)
  • Suggested answer
    Kumar Viju Profile Picture
    1,026 on at

    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.

  • Community Member Profile Picture
    on at

    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

  • Verified answer
    JohnAnonymous Profile Picture
    5,241 on at

    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans