ColorDefinition

Represents color metadata for a tab.

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

Note

Version 

Introduced in API version 43.0.

Supported SOAP API Calls 

describeSObjects(), query()

Supported REST API Methods 

Query

Fields 

Color 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: The color specified in web color RGB format—for example, 00FF00.

Context 

  • Type: string

  • Required: No

  • 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

  • Required: No

  • 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

  • Required: No

  • Properties: Filter, Nillable, Sort

  • Description: The ID of the tab this definition belongs to. Defaults to null.

Theme 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: The user interface theme this definition is associated with.

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!