Category Configuration
Code categories can be further configured through the use of the Record Code Category Config (seven20__Candidate_Code_Category_Config__mdt) metadata type. This metadata type allows for the configuration of the colours used for the code pills. To configure a new category, create a new record in this metadata type with the following fields:
| Field Label | API Name | Type | Required | Description |
|---|---|---|---|---|
| Label | MasterLabel | Text(40) | Yes | The API name of the category to be configured |
| Record Code Category Config Name | DeveloperName | Text(40) | Yes | A unique name for this metadata record |
| Background Colour | seven20__Background_Colour__c | Text(19) | Yes | A hex colour code which defines the pill background colour in the UI |
| Text Colour | seven20__Text_Colour__c | Text(19) | Yes | A hex colour code which defines the pill text colour in the UI |
warning
The label field must match the API name of the category field on the Code (seven20__Code__c) object.