Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

How to apply colors for options of option set field in D365 V9.0

Posted on by 790

Hi Folks,

Could you please help me   for below the issue.

'How to apply colors for options of option set select text  field  in form in D365V9.0".

  • cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: How to apply colors for options of option set field in D365 V9.0

    Hi ,

    Could any of solution work for your requirement?

    Regards,

    Clofly

    If you had found any answer helped, please kindly mark as verified(by clicking Yes above the answer) to close the thread, it would be really appreciated.

  • Suggested answer
    cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: How to apply colors for options of option set field in D365 V9.0

    Hi Partner,

    We can build a custom PCF component(in other word, custom control) to achieve it.

    If you would like to learn how to build it, I recommend tutorials from Carl:

    https://carldesouza.com/creating-a-custom-component-using-the-powerapps-component-framework/

    https://carldesouza.com/walkthrough-of-creating-the-microsoft-powerapps-pcf-sample-component/

    There are some existing components in PCF gallery, you could try the component from Diana and check whether it could work for you.

    https://github.com/ORBISAG/ORBIS.PCF.ColorfulOptionset

    It is very easy to use, after importing the solution, just change the default control of an optionset field to "ORBIS.ColorfulOptionset", and hide the default control.

    pastedimage1597886488354v1.png

    The customized drop down list of optionset:

    pastedimage1597886619716v2.png

    In addition, also refer to this component, it will change options of option set to buttons with different colors.

    https://github.com/adityadash03/pcfcolorfuloptionsetButton

    Regards,

    Clofly

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: How to apply colors for options of option set field in D365 V9.0

    Hi,

    It is possible if you use pcf control.

    See below link

    pcf.gallery/.../

    Please mark my answer verified if i were helpful

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans