Newer Version Available
NetworkBranding
Represents the branding and color scheme applied
to the login pages of an Experience Cloud site. (Experience Cloud sites are
represented by the Network component.)
Declarative Metadata File Suffix and Directory Location
NetworkBranding components have the suffix .networkBranding and are stored in the networkBranding folder.
Version
This object is available in API version 41.0 and later. It replaces the Branding subtype in the Network component.
Fields
Declarative Metadata Sample Definition
A sample XML definition of network branding.
1<?xml version="1.0" encoding="UTF-8"?>
2<NetworkBranding xmlns="http://soap.sforce.com/2006/04/metadata">
3 <loginFooterText>salesforce.com</loginFooterText>
4 <loginLogo>Communities_Shared_Document_Folder/header2_png.png</loginLogo>
5 <loginLogoName>header2.png</loginLogoName>
6 <loginBackgroundImageUrl>http://identitycms.herokuapp.com/promo-background.jpg</loginBackgroundImageUrl>
7 <loginQuaternaryColor>#B1BAC1</loginQuaternaryColor>
8 <loginRightFrameUrl>https://www.example.com/test</loginRightFrameUrl>
9 <network>Network 1</network>
10 <pageFooter>Branding/footer_html.html</pageFooter>
11 <pageHeader>Branding/header_Image.jpg</pageHeader>
12 <primaryColor>#AF5800</primaryColor>
13 <primaryComplementColor>#FFFFFF</primaryComplementColor>
14 <quaternaryColor>#286FB8</quaternaryColor>
15 <quaternaryComplementColor>#FFFFFF</quaternaryComplementColor>
16 <secondaryColor>#000000</secondaryColor>
17 <tertiaryColor>#FFFFFF</tertiaryColor>
18 <tertiaryComplementColor>#222222</tertiaryComplementColor>
19 <zeronaryColor>#0A3764</zeronaryColor>
20 <zeronaryComplementColor>#FFFFFF</zeronaryComplementColor>
21</NetworkBranding>Wildcard Support in the Manifest File
This metadata type supports the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.