CustomBrandAsset
Represents a branding element in a custom branding scheme. For example, a color, logo image, header image, or footer text.
Introduced in API version 28.0.
create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()
- This object is available only when your org has digital experiences enabled.
- Type: picklist
- Properties: Create, Filter, Group, Restricted picklist, Sort, Update
- Description: Values include:
- Possible values:
- MotifZeronaryColor — MotifZeronaryColor — The background color for the header. Label is
Zeronary motif color.If this CustomBrandAsset is for a network, this is the header color for the network. If it is for an org, this is the header color when users access the Salesforce mobile app. - MotifPrimaryColor — MotifPrimaryColor — The color used for the active tab. Label is
Primary motif color.Not used for the Salesforce mobile app branding. - MotifSecondaryColor — MotifSecondaryColor — The color used for the top borders of lists and tables. Label is
Secondary motif color.Not used for the Salesforce mobile app branding. - MotifTertiaryColor — MotifTertiaryColor — The background color for section headers on edit and detail pages. Label is
Tertiary motif color.Not used for the Salesforce mobile app branding. - MotifQuaternaryColor — MotifQuaternaryColor — If this CustomBrandAsset is for a network, this is the background color for network pages. If it is for an org, this is the background color on a splash page. Label is
Quaternary motif color. - MotifZeronaryComplementColor — MotifZeronaryComplementColor — Font color used with
zeronaryColor. Label isZeronary motif colors complement color. - MotifPrimaryComplementColor — MotifPrimaryComplementColor — Font color used with
primaryColor. Label isPrimary motif colors complement color.Not used for the Salesforce mobile app branding. - MotifTertiaryComplementColor — MotifTertiaryComplementColor — Font color used with
tertiaryColor. Label isTertiary motif colors complement color.Not used for the Salesforce mobile app branding. - MotifQuaternaryComplementColor — MotifQuaternaryComplementColor — Font color used with
quaternaryColor. Label isQuaternary motif colors complement color.Not used for the Salesforce mobile app branding. - PageHeader — PageHeader — An image that appears on the header of the pages. Can be an .html, .gif, .jpg, or .png file. Label is
Page Header.Not used for the Salesforce mobile app branding. - PageFooter — PageFooter — An image that appears on the footer of the pages. Must be an .html file. Label is
Page Footer.Not used for the Salesforce mobile app branding. - LoginFooterText — LoginFooterText — The text that appears in the footer of the login page. Label is
Footer text displayed on the login page.Not used for the Salesforce mobile app branding. - LoginLogoImageId — LoginLogoImageId — The logo that appears on the login page for external users. In the Salesforce mobile app, this logo also appears on the Experience Cloud site splash page. Label is
Logo image displayed on the login page. - LargeLogoImageId — LargeLogoImageId — Only used for the Salesforce mobile app. The logo that appears on the splash page when you start the Salesforce mobile app. Label is
Large logo image. - SmallLogoImageId — SmallLogoImageId — Only used for the Salesforce mobile app. The logo that appears on the publisher in the Salesforce mobile app. Label is
Small logo image. - StaticLogoImageURL — StaticLogoImageURL — The logo that appears on the login page for external users. Label is
Static logo image url. - LoginQuaternaryColor — LoginQuaternaryColor — The background color that appears on the Experience Cloud site login page for external users. Label is
Login background color. - LoginRightFrameUrl — LoginRightFrameUrl — The URL to the contents that appears on right side of the Experience Cloud site login page for external users. Label is
Login right frame url. - LogoAssetId — LogoAssetId — Navigation tile menu item images. Label is
Logo asset image. - LoginPrimaryColor — LoginPrimaryColor — The background color of the login button. Label is
Login primary color. - LoginBackgroundImageUrl — LoginBackgroundImageUrl — The path to the image URL that appears as the background on the Experience Cloud site’s login page. Label is
Background image url. - LargeLogoAssetId — LargeLogoAssetId — Navigational topic images. Label is
Large logo asset image. - MediumLogoAssetId — MediumLogoAssetId — Featured topic images. Label is
Medium logo asset image.
- MotifZeronaryColor — MotifZeronaryColor — The background color for the header. Label is
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 41.0
-
Description:
ID of the document uploaded to the Documents folder if the value of
AssetCategoryis:PageHeaderPageFooterLoginLogoImageIdLargeLogoImageIdSmallLogoImageId
ID of the content asset if the value of the
AssetCategoryis:LogoAssetIdLargeLogoAssetIdMediumLogoAssetId
-
Relationship name: AssetSource
-
Relationship type: polymorphic
-
Refers to: ContentAsset, Document
-
Type: reference
-
Properties: Create, Filter, Group, Sort, Update
-
Description:
ID of the associated CustomBrand.
This is a relationship field.
-
Relationship name: CustomBrand
-
Relationship type: relationship
-
Refers to: CustomBrand
- Type: string
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Text used if the
AssetCategoryisLoginFooterText.
Use this object to add basic branding elements—color scheme, header or footer images, login page logo, or footer text—to the branding scheme (CustomBrand) for your Experience Cloud site. You must have Create and Manage Experiences to customize site branding.
If you’re using digital experiences in the Salesforce mobile app, the loading page shows the logo.