Notifications
Announcements
No record found.
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
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.
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,
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2