Hello:
Does anyone know if there is a way to change the color of the background of a cell in the views based on the current value for opportunity views?
For example: If No is entered into exclude from forecast we would like to change the cell background to Green and if Yes then Red.
Hi Partner,
Can you click Yes under "Did this answer your question?" to close this thread if my answer is helpful.
Thanks in advance! :)
1.One way would be to add different color icons in front of your cell.
Display custom icons alongside values in list views | Microsoft Docs
2.Another way is PCF controls--Colorful Optionset Grid(Colorful Optionset Grid | PCF Gallery).
Using this control, you can show the OptionsSets using the colors customized using the standard experience. Starting with the release 8, the ColorfulOptionsetGrid works also for Boolean/TwoOptions and for MultiSelectOptionset/MultiSelectPicklist.
You can download zip file:Release Release 8 - boolean and multipleOptionSets · brasov2de/ColorfulOptionsetGrid · GitHub
Then you can refer Guidance Notes to customize view as your need:GitHub - brasov2de/ColorfulOptionsetGrid
Here are steps:
(1)Import download file to solution.
(2)give option field value different color as your need.
(3) Configure control in the view you need.
Save and Publish all customizations.
(4)Test:
Hi,
You can not achieve it using supported way.
I would not recommend to use any unsupported code as it might break when new updates release by microsoft.
Please mark my answer verified if this is helpful!
Regards,
Bipin Kumar
Follow my Blog: xrmdynamicscrm.wordpress.com/
Hi,
Please refer to the following post which provides an example applicable to Lead.
(+) Dynamics CRM - Dynamically change row color in grid view - Microsoft Dynamics CRM Community
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,867 Super User 2024 Season 2
Martin Dráb 229,173 Most Valuable Professional
nmaenpaa 101,156