Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

Change CCF Option Set Colors

Posted on by 30

G'day,

I'm hoping to use the CCF Option Set for a client of mine, but I'm hoping to change each selected option to a different coloured background.

Please ignore the actual information in the screenshot, it's all dummy info anyway.

0028.Traffic-Light-Question.png

Essentially, looking to have the standard Green/Yellow/Red highlights with their appropriate descriptions in the Option Set.

I've had a look through forums & the Google, but I'm struggling to find anything past mid-2019.

Has the CCF tools/library been properly released? If so, where can I find the ability to customise them?

Side note, I'm incredibly vague on Javascript so you'll need to flex your Layman's Terms muscles to help me out.

Any and all help would be appreciated.

  • Verified answer
    Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: Change CCF Option Set Colors

    Hi

    As mentioned above, the color cannot be changed in a supported way.  The code for these CCF based controls has not been published to GitHub so you cant change the way it works.  I think Microsoft may make these controls open source in the future once they converted them to PCF, if they do, we should be able to change its behavior.

    One other limitation you may have already come across with this control but thought worth mentioning here is that it will only display a maximum of 3 options. if an option set has more than 3, it won't display those.

  • Verified answer
    RE: Change CCF Option Set Colors

    Hy Simon,

    Hope this post finds you well. Right now without doing any customizations, we cannot achieve it. Only thing which shoots up in my mind regarding your requirement is building a PCF control.

    pcf.gallery/categories

    Through above you can built your own custom control and add it to the option field

    Hope this helps.

    Best regards,

    Ankit

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans