Skip to content

enums/graph/<node>/<field>/values/<valueKey>

Back to Index

Configures how an enum field value is displayed in the Portal, including its label and color.

Enum values are automatically discovered from the data stored in the system. This registry key allows you to customize how each value appears in the UI.

Properties

PropertyTypeDescription
labelobjectLocalized labels for the value. Keys are locale codes (e.g., default, sv-SE, en-US).
huenumberColor hue for the value tag (0-360 on the HSL color wheel).
setKeystringKey of the category to group this value under. See categories.

Example Value

{
"label": {
"default": "VIP Customer",
"sv-SE": "VIP-kund"
},
"hue": 280,
"setKey": "customer"
}

Example Manifest

Configure an order tag value with a label and color:

uri: /registry/enums/graph/order/tags/values/vip
spec:
value:
label:
default: VIP Customer
sv-SE: VIP-kund
hue: 280
setKey: customer
Back to Index