D365 – Add Colors to OptionSet Fields

This article records how to add color labels to OptionSet fields in Dynamics 365, making them more visually distinct.

Results

View Effect

View Effect

Form Effect

Form Effect

Subgrid Effect

Subgrid Effect

Quick Create Form Effect

Quick Create Form Effect

Detailed Steps

(Whether adding globally or locally, you first need to configure the OptionSet colors.)

Set Option Colors

My commonly used colors:

Global Addition (Display)

Global addition means that once configured in one place, the OptionSet colors will automatically appear in views, forms, and subgrids.

1. Open the Solution

Open using the classic UI. In the new UCI interface, I haven’t found where to configure this. If you know, feel free to leave a comment below so we can learn together.

2. Add Components

2.1 Select the entity and add a control

Add Control

2.2 Select Power Apps Grid Control

Add Grid Control

2.3 Set Enable OptionSet Colors to “Yes,” then enable the Power Apps Grid Control on Web and other clients

Enable Option Colors

2.4 Save and Publish

Local Addition

Local addition means you only want to apply OptionSet colors in specific places:

The steps are the same. Below, I’ll use adding colors to a Quick Create Form as an example:

  1. Open the Quick Create Form
  2. Select the OptionSet field and click Change Properties
  3. Go to the Controls tab in field properties
  4. Add the OptionSet Wrapper control, then enable it on Web and other clients
  5. Save and Publish

Local Add Control

Copyright Notice

Author: Donghai

Link: https://gdhblog.com/posts/d365/optionset-color/

License: CC BY-NC-SA 4.0

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Please attribute the source, use non-commercially, and maintain the same license.

Comments

Start searching

Enter keywords to search articles

↑↓
ESC
⌘K Shortcut