Newer Version Available
EmbeddedServiceBranding
Represents the branding for each Snap-ins
deployment.
This type extends the Metadata
metadata type and inherits its fullName field.
File Suffix and Directory Location
EmbeddedServiceBranding components are stored in the developer_name.EmbeddedServiceBranding file in the EmbeddedServiceBranding folder.
Version
EmbeddedServiceBranding is available in API version 39.0 and later.
Fields
| Field Name | Field Type | Description |
|---|---|---|
| contrastInvertedColor | string | Accent branding color used in the snap-in, displayed as a hexadecimal value. Changes made to this field in the API aren’t reflected in the snap-in. |
| contrastPrimaryColor | Accent branding color used in the snap-in, displayed as a hexadecimal value. | |
| embeddedServiceConfig | string | Required. The Snap-ins configuration that this branding applies to. |
| font | string | Font used in the text of the snap-in. |
| masterLabel | string | Required. The name of the embedded service configuration node. |
| navBarColor | string | Color used for the navigation bar in the snap-in, displayed as a hexadecimal value. |
| primaryColor | string | Primary branding color used in the snap-in, displayed as a hexadecimal value. |
| secondaryColor | string | Secondary branding color used in the snap-in, displayed as a hexadecimal value. |
Declarative Metadata Sample Definition
The following is an example of an EmbeddedServiceBranding file.
1<?xml version="1.0" encoding="UTF-8"?>
2<EmbeddedServiceBranding xmlns="http://soap.sforce.com/2006/04/metadata">
3 <contrastInvertedColor>#ffffff</contrastInvertedColor>
4 <contrastPrimaryColor>#333333</contrastPrimaryColor>
5 <embeddedServiceConfig>04ID000000000FC</embeddedServiceConfig>
6 <font>Salesforce Sans</font>
7 <masterLabel>EmbeddedServiceBranding_Parent04IRM0000004C9D_15f27776b92</masterLabel>
8 <navBarColor>#222222</navBarColor>
9 <primaryColor>#222222</primaryColor>
10 <secondaryColor>#005290</secondaryColor>
11</EmbeddedServiceBranding>