Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Adding sub-grid to a Reference Panel throws error: The color code isn’t valid. Use a valid hexadecimal value.

Posted on by 15

While trying to add any subgrid to a reference panel I'm getting this weird "The color code isn’t valid. Use a valid hexadecimal value." error pop-up that's preventing me from adding sub-grid. I'm able to add quick view forms though. I'm not sure which color code is this talking about? Tried with multiple entities with same result. 

Is support ticket the only way forward?

2020_2D00_02_2D00_21_5F00_12_2D00_43_2D00_47.png

  • Suggested answer
    Andre H Profile Picture
    Andre H on at
    RE: Adding sub-grid to a Reference Panel throws error: The color code isn’t valid. Use a valid hexadecimal value.

    this did the trick, thank you.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Adding sub-grid to a Reference Panel throws error: The color code isn’t valid. Use a valid hexadecimal value.

    I had the same issue, but I managed to solve it.

    It turns out to be a problem with CRM themes and high contrast settings.

    Please check in your personal settings (gear icon>personalization settings>general) if "Enable high contrast" is active. If it's active, that's the issue - deactivate it, it should work now.

  • jruana Profile Picture
    jruana 15 on at
    RE: Adding sub-grid to a Reference Panel throws error: The color code isn’t valid. Use a valid hexadecimal value.

    Did you got any answer from Support? I'm facing same issue...

    Jordi

  • Abhisek Profile Picture
    Abhisek 15 on at
    RE: Adding sub-grid to a Reference Panel throws error: The color code isn’t valid. Use a valid hexadecimal value.

    Thanks Henry! Yes, my first instinct was to try this out from the new editor but reference panels are not even there.

    Legacy editor is where I'm facing this issue.

    Let me check with support, as this could be specific to our environment.

  • Suggested answer
    Henry J. Profile Picture
    Henry J. 5,235 on at
    RE: Adding sub-grid to a Reference Panel throws error: The color code isn’t valid. Use a valid hexadecimal value.

    Hi Abhisek,

    Are you using the legacy or the modern form editor?

    From my tests, I was only able to customize a Reference Panel from the legacy form editor, and didn't encounter any error message while adding a subgrid to a reference panel.

    Please share additional details on where exactly you have this error.

    As you said, you can also raise a Support Request to get help in troubleshooting that issue: https://admin.powerplatform.microsoft.com/support.

    Henry

  • rthompson Profile Picture
    rthompson 1,530 on at
    RE: Adding sub-grid to a Reference Panel throws error: The color code isn’t valid. Use a valid hexadecimal value.

    Hi,

    If you are able.  Would you please give a little more information.  Some code and screenshots.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,902 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,316 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans