Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ColorDefinition

Represents color metadata for a tab. Available in API version 43.0 and later.

In API version 45.0 and later, only users with the “View Setup and Configuration” permission can access ColorDefinition.

Note

Supported SOAP Calls

query()

Supported REST HTTP Methods

Query, GET

Fields

Field Name Details
Color
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The color specified in web color RGB format—for example, 00FF00.
Context
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The color context, which determines whether the color is the main color (or primary) for the tab.
DurableId
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Unique identifier for the field. Always retrieve this value before using it, as the value isn’t guaranteed to stay the same from one release to the next. To simplify queries, use this field.
TabDefinitionId
Type
string
Properties
Filter, Nillable, Sort
Description
The ID of the tab this definition belongs to. Defaults to null.
Theme
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The user interface theme this definition is associated with.