Picklist Colours
There are various instances across Seven20 where values from picklist fields are used to inform the colour of related UI elements, for example as a visual representation of different statuses. The colours associated with specific values can be configured using Hex colour codes via the Picklist Colour custom metadata type.
Picklist Colour metadata
A metadata record is required for each individual picklist value and can be configured as follows:
| Field Label | Field Api Name | Description | Editable |
|---|---|---|---|
| Developer Name | DeveloperName | The unique name of the record | Yes |
| Label | Label | A user friendly version of the Developer Name | Yes |
| Color | seven20__Color__c | The Hex code of the desired colour, including the # | Yes |
| Object | seven20__Object__c | A picklist for selecting the relevant object | Yes |
| Picklist Field | seven20__Picklist_Field__c | A picklist for selecting the relevant field from the selected object | Yes |
| Picklist Value | seven20__Picklist_Value__c | The API name of the relevant picklist value | Yes |