Newer Version Available

This content describes an older version of this product. View Latest

CustomBrandAsset

Represents a branding element in a custom branding scheme. For example, a color, logo image, header image, or footer text. A CustomBrandAsset can apply to a community or to an organization using Salesforce1. This object is available in API version 28.0 and later.

Supported Calls

create()delete()describeSObjects()query()retrieve()update()upsert()

Special Access Rules

This object is available only if Salesforce Communities is enabled in your organization.

Fields

Field Name Details
AssetCategory
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort, Update
Description
Values include:
  • MotifZeronaryColorThe 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 organization, this is the header color when users access Salesforce1.

  • MotifPrimaryColorThe color used for the active tab. Label is Primary motif color.

    Not used for Salesforce1 branding.

  • MotifSecondaryColorThe color used for the top borders of lists and tables. Label is Secondary motif color.

    Not used for Salesforce1 branding.

  • MotifTertiaryColorThe background color for section headers on edit and detail pages. Label is Tertiary motif color.

    Not used for Salesforce1 branding.

  • MotifQuaternaryColor—If this CustomBrandAsset is for a network, this is the background color for network pages. If it is for an organization, this is the background color on a splash page. Label is Quaternary motif color.
  • MotifZeronaryComplementColorFont color used with zeronaryColor. Label is Zeronary motif colors complement color.
  • MotifPrimaryComplementColorFont color used with primaryColor. Label is Primary motif colors complement color.

    Not used for Salesforce1 branding.

  • MotifTertiaryComplementColorFont color used with tertiaryColor. Label is Tertiary motif colors complement color.

    Not used for Salesforce1 branding.

  • MotifQuaternaryComplementColorFont color used with quaternaryColor. Label is Quaternary motif colors complement color.

    Not used for Salesforce1 branding.

  • PageHeaderAn image that appears on the header of the community pages. Can be an .html, .gif, .jpg, or .png file. Label is Page Header.

    Not used for Salesforce1 branding.

  • PageFooterAn image that appears on the footer of the community pages. Must be an .html file. Label is Page Footer.

    Not used for Salesforce1 branding.

  • LoginFooterTextThe text that appears in the footer of the community login page. Label is Footer text displayed on the login page.

    Not used for Salesforce1 branding.

  • LoginLogoImageIdThe logo that appears on the community login page for external users. In Salesforce1, this logo also appears on the community splash page. Label is Logo image displayed on the login page.
  • LargeLogoImageId—Only used for Salesforce1. The logo that appears on the splash page when you start Salesforce1. Label is Large logo image.
  • SmallLogoImageId—Only used for Salesforce1. The logo that appears on the publisher in Salesforce1. Label is Small logo image.
CustomBrandId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
ID of the associated CustomBrand.
ForeignKeyAssetId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
ID of the document used if the AssetCategory is PageHeader, PageFooter, or LoginLogoImageId.
TextAsset
Type
string
Properties
Create, Filter, Nillable, Sort, Update
Description
Text used if the AssetCategory is LoginFooterText.

Usage

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 Network. You must have “Create and Manage Communities” to customize community branding.

If you’re using communities in Salesforce1, the loading page shows the logo.