Skip to main content

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 LabelAPI NameTypeRequiredDescription
LabelMasterLabelText(40)YesThe API name of the category to be configured
Record Code Category Config NameDeveloperNameText(40)YesA unique name for this metadata record
Background Colourseven20__Background_Colour__cText(19)YesA hex colour code which defines the pill background colour in the UI
Text Colourseven20__Text_Colour__cText(19)YesA 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.