Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Answered

Is there any supported way to change the color of the Status Reason text on the Case Form.

Posted on by 75

Hi All,

We have a requirement to change the text color of the status reason field for different options, we would like to use the supported way only. Is there a way we can achieve this using the PCF controls/javascript?

We are using D365 latest version CRM.

Thanks in advance,

Samhitha.

  • Verified answer
    Devikumari Krishna Profile Picture
    Devikumari Krishna 371 on at
    RE: Is there any supported way to change the color of the Status Reason text on the Case Form.

    Hi Partner,

    We can't change the text color of the status reason field for different options in the form using OOB.

    Yes we can use JavaScript - but it is not working fine in UCI.

    The best option would be to use pcf controls - Colorful Optionset Grid | PCF Gallery

    Please let me know if this helps.

    Blog - https://d365topicsbydk.com

    Regards

    Devi        

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Is there any supported way to change the color of the Status Reason text on the Case Form.

    Hi Samhitha, 

    For general option set fields, There are some existing components in PCF Gallery--Colorful Optionset (GitHub - ORBISAG/ORBIS.PCF.ColorfulOptionset), which can show different color in the form.

    However, status reason field is special, Controls tab not visible in Field properties for Status Reason field: Property Element - Power Apps | Microsoft Docs

    So you can't change the text color of the status reason field for different options in the form.

    pastedimage1632883856409v1.png

    Or you can try to add another PCF control(ColorfulOptionsetGrid) to the view, which can achieve it as following screenshot.

    pastedimage1632884969377v4.png

    Download: Releases · brasov2de/ColorfulOptionsetGrid · GitHub

    Instroduction: GitHub - brasov2de/ColorfulOptionsetGrid

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans