Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to Change the background color of the form

(0) ShareShare
ReportReport
Posted on by 2

Hello All Experts,

in previous crm below code used to work 

document.all.tab0.style.backgroundColor = 'white';//General tab
document.all.tab1.style.backgroundColor = 'white';//Details tab
document.all.tab2.style.backgroundColor = 'white';//Administration tab
document.all.tab3.style.backgroundColor = 'white'; //Notes tab



but for crm 2016 it does not work.

what will be the alternate for the above .
any help will be appreciable.

*This post is locked for comments

  • Suggested answer
    suresh maurya Profile Picture
    suresh maurya 630 on at
    RE: How to Change the background color of the form

    Hi, 

    Please check the solution

    http://msdynamicsconsulting.com/Products/ColorGrid

    It has implemented similar functionality in Dynamics 365 V9.

  • Suggested answer
    Gopalan Bhuvanesh Profile Picture
    Gopalan Bhuvanesh 11,401 on at
    RE: How to Change the background color of the form

    Hi

    If you prefer you can comment it out.

    Means this particular feature (background color white) would not be available.

    Do you run this block, for any particular condition?

  • Suggested answer
    Gopalan Bhuvanesh Profile Picture
    Gopalan Bhuvanesh 11,401 on at
    RE: How to Change the background color of the form

    Hi

    This is not a supported way of customization.

    It may not work when you upgrade and will get issues.

    There is no OOB customization to change the background color.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to Change the background color of the form

    Hello,

    Basically you cannot change background color of the form in CRM. So anything you will do will be unsupported, which means any Update or new version may cause your code not working.

    If you want to hardcode it - try to override css with jquery.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,375 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans