Newer Version Available

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

DigitalExperienceBundle

Represents a text-based code structure of your organization’s workspaces, organized by workspace type, and each workspace’s content items.

Parent Type

This type extends the Metadata metadata type and inherits its fullName field.

File Suffix and Directory Location

DigitalExperienceBundle components have the suffix .digitalExperience and are stored in the digitalExperiences folder.

DigitalExperienceBundle uses workspaces and content types to organize your data in a content-focused structure.

  • Workspace: For enhanced Lightning Web Runtime (LWR) sites, a collection of related content items that form the site when combined with data from the DigitalExperienceConfig metadata type. Every enhanced LWR site has its own workspace.

    For Marketing Cloud Growth, a collection of content contained in the marketing workspace.

  • Workspace type: A way to categorize different kinds of workspaces. For example, the workspace type for enhanced LWR sites is site, and the workspace type for marketing workspaces in Marketing Cloud Growth is marketing. The workspace type determines which content types are available in the workspace. In the DigitalExperienceBundle folder structure, all workspaces of a given type are under that workspace type. site and marketing are the only supported workspace types.
  • Content types: A way to categorize different kinds of content in a workspace. For example, all routes in an enhanced LWR site are stored under a content type folder called sfdc_cms__route. Similarly, forms for a marketing workspace in Marketing Cloud Growth are stored under a content type folder called sfdc_cms__form.
  • Content items: For enhanced LWR sites, the individual settings and site components that make up an enhanced LWR site. For example, each of the routes in an enhanced LWR site is a single content item.

    For marketing workspaces, the content items used in marketing campaigns. For example, each form in a workspace is a single content item.

Here’s an example of the DigitalExperienceBundle structure.

DigitalExperienceBundle folder structure

When retrieved, the DigitalExperienceBundle contains workspace type folders (1) under the digitalExperiences folder.

The marketing folder contains one or more workspace folders (2), each representing a marketing workspace in Marketing Cloud Growth. The site folder contains one or more workspace folders (3), each representing the workspace for an individual enhanced LWR site. Each workspace folder contains an XML file with information about the workspace, such as the label. For enhanced LWR sites, be sure to keep the label value in sync with the site’s network name.

Each workspace folder also contains several content type folders that represent each of the different content types (4) used in that workspace. For marketing workspaces, forms and referenced images are the only supported content types in DigitalExperienceBundle.

Finally, each content type folder can contain one or more content subfolders. Each content subfolder can contain additional subfolders and several files that, when combined, represent an individual content item, such as a specific view (5).

  • A _meta.json file that contains the metadata for the content item. Use the _meta.json file to learn the location of a content item within the workspace, or to move the content item to another location, including creating a new location for the content item. You can also use the _meta.json file to view a content item’s parent-child relationships, to move the content item from one parent to another, or to remove a parent-child relationship entirely.
  • A content.json file that contains the primary version of the content item. Each content.json file includes values for the content item’s type, title, and content body. Use this file to edit the content’s properties on your local machine or scratch org and then deploy.
  • If applicable, additional JSON files that represent variants of the content item, such as language translations.

The _meta.json file contains several properties:

Property Description
apiName
Field Type
string
Description
Required.
The name of the associated content item. The apiName allows only alphanumeric and underscore characters and must begin with a letter.
You can use an apiName one time per content type in a given workspace. For example, a single workspace can contain both a view named “home” and a route named “home” but can’t contain two views named “home”.
parent
Field Type
string
Description
The developer name of the content item’s parent. If the content item doesn’t have a parent, then either the parent value is blank or the parent property isn’t displayed at all.
path
Field Type
string
Description
The location of the content item within the workspace’s folder structure. The value is blank for content types at the root level, such as appPage and site.
type
Field Type
string
Description
Required.
The full name of the content type from which the content item was created.
The type is prefixed with sfdc_cms__. For example, all views in a site workspace have the content type sfdc_cms__view.

Version

DigitalExperienceBundle components are available in API version 56.0 and later.

Special Access Rules

In Experience Cloud, can use DigitalExperienceBundle for enhanced LWR sites created in Winter ’23 or later. For Aura sites and other LWR sites, use the ExperienceBundle or SiteDotCom metadata types.

In Marketing Cloud Growth, you must have a contributor role in a marketing workspace to retrieve it.

Fields

Field Name Description
description
Field Type
string
Description
Contains the description of the workspace.
For site workspaces, this value is empty.
digitalExperienceFolderShares
Field Type
DigitalExperienceFolderShare[]
Description
The list of folders in the source marketing workspace that are shared with target marketing workspaces.
Available in API version 61.0 and later.
label
Field Type
string
Description
Required.
A user-friendly name for DigitalExperienceBundle, which is defined when the DigitalExperienceBundle is created.
spaceResources
Field Type
DigitalExperience[]
Description
The list of resources in this DigitalExperienceBundle. Each resource represents a content type, such as views, routes, themes, and languageSettings.

DigitalExperience

Represents content in the bundle. When retrieved as part of DigitalExperienceBundle, DigitalExperience represents all content for the requested workspace or workspaces. When retrieved on its own, DigitalExperience represents only the content types you specify.

This subtype extends the MetadataWithContent metadata type and inherits its content and fullName fields.

When you retrieve DigitalExperience, the folder structure matches that of DigitalExperienceBundle, with only the specified content returned.

Field Name Description
fileName
Field Type
string
Description
Required.
Name of the resource file.
filePath
Field Type
string
Description
Path to the file within the artifact folder.
format
Field Type
string
Description
Required.
Only JSON is allowed.

DigitalExperienceFolderShare

Represents a folder in a source marketing workspace that’s shared with other target workspaces. Available in API version 61.0 and later.

Field Name Description
folderPath
Field Type
string
Description
The root folder of the shared workspace. The allowed value is _root.
sharedWith
Field Type
SharedWith[]
Description
The list of target workspaces that the source workspace is shared with.

SharedWith

Represents a target marketing workspace that the source marketing workspace is shared with. Available in API version 61.0 and later.

Field Name Description
fullyQualifiedName
Field Type
string
Description
The target workspace that the source workspace is shared with. It uses the format workspace_type/target_workspace_name. For example, marketing/Workspace2.

Folders and Bundled Definitions

Each DigitalExperienceBundle includes content type folders, content item subfolders, and associated data that is contained in content.json and _meta.json files. Each content type folder represents a content type that is supported in a given workspace type.

sfdc_cms__appPage Folder

This content type folder exists at the root level and contains one content subfolder that represents the site’s single-page application. Only one sfdc_cms__appPage content item is allowed per site.

The content subfolder contains two or more JSON files:

  • _meta.json
  • content.json
  • If applicable, additional JSON files that represent variations of the content item

<apiName>/content.json

Property Description
currentThemeId
Field Type
content link
Description
Represents the apiName of the site’s active theme.
headMarkup
Field Type
string
Description
Allows the addition of custom markup to the site's main page <head> tag. Similar to using Experience Builder | Setting | Advanced | Head Markup.
See Salesforce Help for markup guidance.
isLockerServiceEnabled
Field Type
boolean
Description
Indicates whether Lightning Locker is enabled (true) or not (false). The default value is true.
Before disabling Lightning Locker, set isRelaxedCSPLevel to true.
isRelaxedCSPLevel
Field Type
boolean
Description
Controls the ability to run scripts and controls script access to third-party hosts. The default is false.
A false value sets a strict CSP security level, and blocks access to inline scripts and all hosts. A true value sets a relaxed CSP security level, and permits access to inline scripts and allowed hosts. To learn more, see Select a Security Level in Experience Builder Sites.
templateName
Field Type
string
Description
Required.
The unique developer name of the template. Valid values are:
  • talon-template-byo—Represents the Build Your Own (LWR) template
  • microsite-template-marketing—Represents the Microsite template
title
Field Type
string
Description
Required.
Represents the label of the appPage.
type
Field Type
string
Description
Required.
Represents the content type. The only allowed value is sfdc_cms__appPage.
1{
2  "type" : "sfdc_cms__appPage",
3  "title" : "main",
4  "contentBody" : {
5    "currentThemeId" : "Build_Your_Own_LWR",
6    "headMarkup" : "<meta charset=\"UTF-8\" />\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n<title>Welcome to LWC Communities!</title>\n\n<link rel=\"stylesheet\" href=\"{ basePath }/assets/styles/styles.css?{ versionKey }\" />\n\n\n<!-- webruntime-branding-shared stylesheets -->\n<link rel=\"stylesheet\" href=\"{ basePath }/assets/styles/salesforce-lightning-design-system.min.css?{ versionKey }\" />\n<link rel=\"stylesheet\" href=\"{ basePath }/assets/styles/dxp-site-spacing-styling-hooks.min.css?{ versionKey }\" />\n<link rel=\"stylesheet\" href=\"{ basePath }/assets/styles/dxp-styling-hooks.min.css?{ versionKey }\" />\n<link rel=\"stylesheet\" href=\"{ basePath }/assets/styles/dxp-slds-extensions.min.css?{ versionKey }\" />\n\n\n<!-- webruntime-branding-shared stylesheets -->",
7    "isLockerServiceEnabled" : true,
8    "isRelaxedCSPLevel" : false,
9    "templateName" : "talon-template-byo"
10  }
11}

sfdc_cms__brandingSet Folder

This content type folder contains one content subfolder per branding set. Each content subfolder contains two or more JSON files:

  • _meta.json
  • content.json
  • If applicable, additional JSON files that represent variations of the content item

<apiName>/content.json

Property Description
brandingSetType
Field Type
enumeration of type string
Description
Represents whether the color palette stored in the branding set is for the entire site or a specific section. You can’t change one branding set type to another.
Valid values are:
  • APP—The branding set applies to the entire site. There can be only one branding set of this type.
  • SCOPED—A SCOPED branding set can be applied only to a section component.
definitionName
Field Type
string
Description
Required. Represents the name for the branding set used in the site or template’s theme.
There are two standard templates that have unique naming:
  • Build Your Own (LWR) uses talon-template-byo:branding
  • Microsite uses microsite-template-marketing:branding
title
Field Type
string
Description
Required.
Represents the label of the brandingSet content item.
The maximum length is 100 characters. The title must be unique within the space’s brandingSet content items.
type
Field Type
string
Description
Required.
Represents the content type. The only supported value is sfdc_cms__brandingSet.
values
Field Type
object (map)
Description
Required.
Represents a map of branding values that can be applied to a site.
1{
2  "type" : "sfdc_cms__brandingSet",
3  "title" : "Build Your Own (LWR)",
4  "contentBody" : {
5    "brandingSetType" : "APP",
6    "definitionName" : "talon-template-byo:branding",
7    "values" : {
8      "BackgroundColor" : "#ffffff",
9      "BaseFontSize" : "1rem",
10      "BodyFont" : "Salesforce Sans",
11      "BodyFontSize" : "1rem",
12      "BodyFontStyle" : "normal",
13      "BodyFontWeight" : "400",
14      "BodyLetterSpacing" : "0em",
15      "BodyLineHeight" : "1.5",
16      "BodySmallFont" : "Salesforce Sans",
17      "BodySmallFontSize" : "0.75rem",
18      "BodySmallFontStyle" : "normal",
19      "BodySmallFontWeight" : "400",
20      "BodySmallLetterSpacing" : "0em",
21      "BodySmallLineHeight" : "1.25",
22      "BodySmallTextColor" : "var(--dxp-g-root-contrast)",
23      "BodySmallTextDecoration" : "none",
24      "BodySmallTextTransform" : "none",
25      "BodyTextColor" : "var(--dxp-g-root-contrast)",
26      "BodyTextDecoration" : "none",
27      "BodyTextTransform" : "none",
28      "ButtonActiveColor" : "var(--dxp-s-button-color-1)",
29      "ButtonBorderRadius" : "4px",
30      "ButtonColor" : "var(--dxp-g-brand)",
31      "ButtonFocusColor" : "var(--dxp-s-button-color-1)",
32      "ButtonFont" : "Salesforce Sans",
33      "ButtonFontSize" : "1rem",
34      "ButtonFontStyle" : "normal",
35      "ButtonFontWeight" : "400",
36      "ButtonHoverColor" : "var(--dxp-s-button-color-1)",
37      "ButtonLargeBorderRadius" : "4px",
38      "ButtonLargeFontSize" : "1.25rem",
39      "ButtonLargePadding" : "1.25rem",
40      "ButtonLetterSpacing" : "0em",
41      "ButtonLineHeight" : "2",
42      "ButtonPadding" : "1rem",
43      "ButtonSmallBorderRadius" : "4px",
44      "ButtonSmallFontSize" : "0.75rem",
45      "ButtonSmallPadding" : "0.75rem",
46      "ButtonTextTransform" : "none",
47      "ColumnSpacerSizeDesktop" : "1rem",
48      "ColumnSpacerSizeMobile" : "0.75rem",
49      "ComponentSpacerSizeDesktop" : "1.5rem",
50      "ComponentSpacerSizeMobile" : "1.5rem",
51      "DropdownBackgroundColor" : "var(--dxp-g-root)",
52      "DropdownBackgroundHoverColor" : "var(--dxp-g-neutral)",
53      "DropdownBorderColor" : "var(--dxp-g-neutral)",
54      "DropdownTextColor" : "var(--dxp-g-root-contrast)",
55      "DropdownTextHoverColor" : "var(--dxp-g-neutral-contrast)",
56      "FormElementBackgroundColor" : "var(--dxp-g-root)",
57      "FormElementBorderColor" : "var(--dxp-g-neutral-3)",
58      "FormElementBorderRadius" : "4px",
59      "FormElementBorderWidth" : "1px",
60      "FormElementLabelColor" : "var(--dxp-g-root-contrast)",
61      "FormElementTextColor" : "var(--dxp-g-root-contrast)",
62      "HeadingExtraLargeColor" : "var(--dxp-g-root-contrast)",
63      "HeadingExtraLargeFont" : "Salesforce Sans",
64      "HeadingExtraLargeFontSize" : "2.5rem",
65      "HeadingExtraLargeFontStyle" : "normal",
66      "HeadingExtraLargeFontWeight" : "300",
67      "HeadingExtraLargeLetterSpacing" : "0em",
68      "HeadingExtraLargeLineHeight" : "1.25",
69      "HeadingExtraLargeTextDecoration" : "none",
70      "HeadingExtraLargeTextTransform" : "none",
71      "HeadingLargeColor" : "var(--dxp-g-root-contrast)",
72      "HeadingLargeFont" : "Salesforce Sans",
73      "HeadingLargeFontSize" : "1.75rem",
74      "HeadingLargeFontStyle" : "normal",
75      "HeadingLargeFontWeight" : "300",
76      "HeadingLargeLetterSpacing" : "0em",
77      "HeadingLargeLineHeight" : "1.25",
78      "HeadingLargeTextDecoration" : "none",
79      "HeadingLargeTextTransform" : "none",
80      "HeadingMediumColor" : "var(--dxp-g-root-contrast)",
81      "HeadingMediumFont" : "Salesforce Sans",
82      "HeadingMediumFontSize" : "1.25rem",
83      "HeadingMediumFontStyle" : "normal",
84      "HeadingMediumFontWeight" : "300",
85      "HeadingMediumLetterSpacing" : "0em",
86      "HeadingMediumLineHeight" : "1.25",
87      "HeadingMediumTextDecoration" : "none",
88      "HeadingMediumTextTransform" : "none",
89      "HeadingSmallColor" : "var(--dxp-g-root-contrast)",
90      "HeadingSmallFont" : "Salesforce Sans",
91      "HeadingSmallFontSize" : "1.125rem",
92      "HeadingSmallFontStyle" : "normal",
93      "HeadingSmallFontWeight" : "300",
94      "HeadingSmallLetterSpacing" : "0em",
95      "HeadingSmallLineHeight" : "1.25",
96      "HeadingSmallTextDecoration" : "none",
97      "HeadingSmallTextTransform" : "none",
98      "HorizontalRowPaddingDesktop" : "1rem",
99      "HorizontalRowPaddingMobile" : "0.75rem",
100      "LinkColor" : "var(--dxp-g-brand)",
101      "LinkHoverColor" : "var(--dxp-s-link-text-color-1)",
102      "LinkTextDecoration" : "none",
103      "LinkTextDecorationFocus" : "underline",
104      "LinkTextDecorationHover" : "underline",
105      "MaxContentWidthDesktop" : "1800px",
106      "MaxContentWidthMobile" : "none",
107      "MobileBaseFontSize" : "1rem",
108      "PrimaryAccentColor" : "#005fb2",
109      "PrimaryAccentForegroundColor" : "#ffffff",
110      "SiteLogo" : "",
111      "TextColor" : "#1a1b1e",
112      "VerticalRowPaddingDesktop" : "1rem",
113      "VerticalRowPaddingMobile" : "0.75rem",
114      "_BackgroundColor1" : "#ebebeb",
115      "_BackgroundColor2" : "#c2c2c2",
116      "_BackgroundColor3" : "#858585",
117      "_ButtonActiveColorContrast" : "var(--dxp-g-brand-contrast-1)",
118      "_ButtonColor1" : "var(--dxp-g-brand-1)",
119      "_ButtonColorContrast" : "var(--dxp-g-brand-contrast)",
120      "_ButtonFocusColorContrast" : "var(--dxp-g-brand-contrast-1)",
121      "_ButtonHoverColorContrast" : "var(--dxp-g-brand-contrast-1)",
122      "_DestructiveColor" : "#c23934",
123      "_DestructiveColor1" : "#a2302b",
124      "_DestructiveColor2" : "#611d1a",
125      "_DestructiveColor3" : "#010000",
126      "_DestructiveForegroundColor" : "#ffffff",
127      "_DestructiveForegroundColor1" : "#ffffff",
128      "_DestructiveForegroundColor2" : "#ffffff",
129      "_DestructiveForegroundColor3" : "#ffffff",
130      "_InfoColor" : "#16325c",
131      "_InfoColor1" : "#0e203b",
132      "_InfoColor2" : "#000000",
133      "_InfoColor3" : "#000000",
134      "_InfoForegroundColor" : "#ffffff",
135      "_InfoForegroundColor1" : "#ffffff",
136      "_InfoForegroundColor2" : "#ffffff",
137      "_InfoForegroundColor3" : "#ffffff",
138      "_LinkColor1" : "var(--dxp-g-brand-1)",
139      "_NeutralColor" : "#ecebea",
140      "_NeutralColor1" : "#d9d7d5",
141      "_NeutralColor2" : "#b2aeaa",
142      "_NeutralColor3" : "#76716b",
143      "_NeutralForegroundColor" : "#000000",
144      "_NeutralForegroundColor1" : "#000000",
145      "_NeutralForegroundColor2" : "#000000",
146      "_NeutralForegroundColor3" : "#ffffff",
147      "_OfflineColor" : "#444444",
148      "_OfflineColor1" : "#303030",
149      "_OfflineColor2" : "#070707",
150      "_OfflineColor3" : "#000000",
151      "_OfflineForegroundColor" : "#ffffff",
152      "_OfflineForegroundColor1" : "#ffffff",
153      "_OfflineForegroundColor2" : "#ffffff",
154      "_OfflineForegroundColor3" : "#ffffff",
155      "_PrimaryAccentColor1" : "#004989",
156      "_PrimaryAccentColor2" : "#001e38",
157      "_PrimaryAccentColor3" : "#000000",
158      "_PrimaryAccentForegroundColor1" : "#ffffff",
159      "_PrimaryAccentForegroundColor2" : "#ffffff",
160      "_PrimaryAccentForegroundColor3" : "#ffffff",
161      "_SiteLogoUrl" : "",
162      "_SuccessColor" : "#4bca81",
163      "_SuccessColor1" : "#36b66c",
164      "_SuccessColor2" : "#237747",
165      "_SuccessColor3" : "#07190f",
166      "_SuccessForegroundColor" : "#000000",
167      "_SuccessForegroundColor1" : "#000000",
168      "_SuccessForegroundColor2" : "#ffffff",
169      "_SuccessForegroundColor3" : "#ffffff",
170      "_TextColor1" : "#000000",
171      "_TextColor2" : "#000000",
172      "_TextColor3" : "#000000",
173      "_WarningColor" : "#ffb75d",
174      "_WarningColor1" : "#ffa534",
175      "_WarningColor2" : "#e27d00",
176      "_WarningColor3" : "#673900",
177      "_WarningForegroundColor" : "#000000",
178      "_WarningForegroundColor1" : "#000000",
179      "_WarningForegroundColor2" : "#000000",
180      "_WarningForegroundColor3" : "#ffffff"
181    }
182  }
183}

sfdc_cms__languageSettings Folder

This content type folder contains one content subfolder called languages. The languages content subfolder contains two or more JSON files:

  • _meta.json
  • content.json
  • If applicable, additional JSON files that represent variations of the content item

<apiName>/content.json

Property Description
defaultLocale
Field Type
string
Description
Represents the default locale for a workspace. The language listed here is the default fallback language for all of the workspace’s languageTypes.
languages
Field Type
languageType[]
Description
Required.
Represents the languages available in the space. Each languageType contains values related to that particular language.
languageType.fallbacklocale
Field Type
string
Description
Represents the locale to use when no content is available for the selected locale. For example, if a site visitor chooses Japanese from the language selector but there’s no content for that page in Japanese, content is displayed in the fallback locale.
The fallbackLocale's isAuthoringOnly value must be false.
Only one level of fallback is allowed. Here are examples for a workspace with a locale of en_US, and with Spanish, French, and Finnish as supported locales.
  • Not allowed: Spanish falls back to French, and French falls back to Finnish. This configuration includes two levels of fallback.
  • Allowed: Spanish falls back to French, and French falls back to English. en_US is the workspace’s default.
  • Allowed: Spanish falls back to French, and French has no fallback.
This property is displayed only if the languageType.fallbackLocale is different from the workspace’s default locale.
languageType.isActive
Field Type
boolean
Description
Indicates whether the language is active (true) or inactive (false). The only supported value is true.
languageType.isAuthoringOnly
Field Type
boolean
Description
Indicates whether the language is scoped only to authoring workspace (true) or not (false). The default value is false.
When set to true, the languageType and its associated translations aren’t visible to site visitors. When set to false, site visitors can see the languageType and its associated translations.
languageType.label
Field Type
string
Description
Required. Defines the display label for a language. The display label appears in any language selector components that you add to your site and in the language selector in Experience Builder.
The default value is the locale name. For example, if languageType.locale=fr, then languageType.label=French.
languageType.locale
Field Type
string
Description
Required. Represents the languageCode appended with the countryCode, separated by an underscore. For example, en_US indicates a languageCode of English, and a countryCode of United States.
Defines the locale, or geographic region, of a language. Locales determine the display format for date and time, user names, address, and commas and periods in numbers.
Each languageType.locale and languageType.label combination can be used only one time per workspace.
title
Field Type
string
Description
Required.
Represents the label of the content item.
type
Field Type
Description
Required.
Represents the content type. The only allowed value is sfdc_cms__languageSettings.
1{
2  "type" : "sfdc_cms__languageSettings",
3  "title" : "LanguageContent",
4  "contentBody" : {
5    "languages" : [ {
6      "locale" : "en_US",
7      "label" : "English (US)",
8      "isActive" : true,
9      "isAuthoringOnly" : false
10    } ],
11    "defaultLocale" : "en_US"
12  }
13}

sfdc_cms__route Folder

This content type folder contains one content subfolder for each of the site’s routes. Each route content subfolder contains two or more JSON files:
  • _meta.json
  • content.json
  • If applicable, additional JSON files that represent variations of the content item

<apiName>/content.json

Property Description
activeViewId
Field Type
content link
Description
Required.
Represents the apiName of the route’s active view.
Must reference an existing view in the same workspace.
configurationTags
Field Type
string[]
Description
Represents the configuration tags for the route. The only allowed value is all-in-static-site.

Don’t edit this property, because it’s an internal property.

Note

pageAccess
Field Type
enumeration of type string
Description
Identifies the status of a route as public or private.
When set to the default value UseParent, the status of the site determines the status of the route. This value isn’t editable from the user interface for routes that are always private.
Valid values are:
  • UseParent
  • Public
  • RequiresLogin

You can change the pageAccess value only if the site is authenticated.

Note

routeType
Field Type
string
Description
Required.
Identifies the type of route. The routeType value must be unique within a workspace. This value must match the viewType value in the corresponding view content item.
title
Field Type
string
Description
Required.
Represents the label of the route.
type
Field Type
string
Description
Required.
Represents the content type. The only supported value is sfdc_cms__route.
urlPrefix
Field Type
string
Description
Required.
Represents the base URL for the route.
1{
2  "type" : "sfdc_cms__route",
3  "title" : "Error",
4  "contentBody" : {
5    "activeViewId" : "error",
6    "configurationTags" : [ ],
7    "pageAccess" : "UseParent",
8    "routeType" : "error",
9    "urlPrefix" : "error"
10  }
11}

sfdc_cms__site Folder

This content type folder exists at the root level and contains one content subfolder. The content subfolder contains two or more JSON files:

  • _meta.json
  • content.json
  • If applicable, additional JSON files that represent variations of the content item

<apiName>/content.json

Property Description
authenticationType
Field Type
enumeration of type string
Description
Required.
Indicates whether guest users have access to the site.
Valid values are:
  • AUTHENTICATED—The site isn’t public. Only authenticated users can access the site after logging in.
  • AUTHENTICATED_WITH_PUBLIC_ACCESS_ENABLED—The site is an authenticated site, but the Public can access the site checkbox is enabled in Experience Builder in Settings | General. Guest users can access the site.
  • UNAUTHENTICATED—The unauthenticated site is publicly available to anyone on the web, and doesn’t support login or authentication. UNAUTHENTICATED is a legacy value. We recommend using AUTHENTICATED_WITH_PUBLIC_ACCESS_ENABLED access to allow guest user access.
title
Field Type
string
Description
Required.
Represents the label of the content item.
type
Field Type
string
Description
Required.
Represents the content type. The only allowed value is sfdc_cms__site.
1{
2  "type" : "sfdc_cms__site",
3  "title" : "Capricorn_Coffee",
4  "contentBody" : {
5    "authenticationType" : "AUTHENTICATED"
6  }
7}

sfdc_cms__theme Folder

This content type folder contains one content subfolder, representing the site’s theme. The content subfolder contains two or more JSON files:

  • _meta.json
  • content.json
  • If applicable, additional JSON files that represent variations of the content item

<apiName>/content.json

Property Description
activeBrandingSetId
Field Type
content link
Description
Required.
Represents the apiName of the site’s active branding set.
Must reference an existing brandingSet with a type of APP in the same workspace.
definitionName
Field Type
string
Description
Required.
Represents the definition name of a theme.
Must match the template’s theme definition name.
layouts
Field Type
layout[]
Description
Required.
Represents an array of the theme layouts available in the workspace and provides details about each theme layout.
The template and features used in the workspace determine which layouts are required. For example, the ServiceNotAvailable layout is required if the site includes a Service Not Available page.
layouts.layoutId
Field Type
content link
Description
Required.
Represents the apiName of an available theme layout. Must refer to an existing theme layout in the same workspace.
layouts.layoutType
Field Type
string
Description
Represents the name of the theme layout specified in Experience Builder.
An inner theme layout is required. The inner theme layout is applied by default to all of a site’s pages except for login pages.
title
Field Type
string
Description
Required.
Represents the name of the theme.
type
Field Type
string
Description
Required.
Represents the content type. The only allowed value is sfdc_cms__theme.
1{
2  "type" : "sfdc_cms__theme",
3  "title" : "Build Your Own (LWR)",
4  "contentBody" : {
5    "activeBrandingSetId" : "Build_Your_Own_LWR",
6    "definitionName" : "byo",
7    "layouts" : [ {
8      "layoutId" : "snaThemeLayout",
9      "layoutType" : "ServiceNotAvailable"
10    }, {
11      "layoutId" : "scopedHeaderAndFooter",
12      "layoutType" : "Inner"
13    } ]
14  }
15}

sfdc_cms__themeLayout Folder

This content type folder contains one content subfolder for each theme layout in the site. Each content subfolder contains two or more JSON files:

  • _meta.json
  • content.json
  • If applicable, additional JSON files that represent variations of the content item

We recommend that you don’t add, reorder, or delete a component within a locked region using the DigitalExperienceBundle. To find out which regions are locked, in Experience Builder, view the Page Structure tab for the page that you’re working on. If the region that you’re modifying has a lock icon next to it, it’s a locked region.

Note

<apiName>/content.json

Property Description
children
Field Type
regionType[]
Description
Represents individual regions within a layout.
component
Field Type
componentType
Description
Required.
Contains the layout details for this theme layout in regions and components.
componentType.attributes
Field Type
map
Description
A map of design attribute values used by the component definition to render the definition.
componentType.attributes.dxpStyle
Field Type
map
Description
Lets you define visibility, padding, and margin values for a component.
Visibility controls whether the component is visible on desktop, tablet, and mobile versions of your site.
Margin and padding are map types that contain string properties for top, right, bottom, and left spacing. Padding controls space within a component. Margin controls space around the outside of a component. Units for margin and padding can be px, rem, or %, and all four spacing values must use the same unit. This field is available in API version 57.0 and later.
componentType.children
Field Type
regionType[]
Description
Represents regions within a component.
componentType.definition
Field Type
string
Description
Required.
Represents the name of the Lightning Web Component (LWC) using the format namespace:componentName.
Must be one of the theme layouts defined as part of the default theme, or use the target lightningCommunity__Theme_Layout. The default theme layouts differ per theme. For example, the Build Your Own (BYO) template uses the BYO theme, with the allowed theme layouts community_byo:scopedHeaderandFooter and community_layout:simpleThemeLayout.
componentType.id
Field Type
UUID
Description
Required.
Represents the UUID of a component.
componentType.scopedBrandingSetId
Field Type
content link
Description
Represents the brandingSet that applies to this component. The brandingSet must be of type SCOPED.
This property is applicable only if the component’s definitionName is community_layout:section.
componentType.customCssClasses
Field Type
string
Description
Represents the custom CSS classes applied to the host element of the component. Must be a space-delimited list of valid CSS classes. This field is available in API version 59.0 and later.
componentType.title
Field Type
string
Description
Represents a component variation name. Available in API version 59.0 and later.
componentType.type
Field Type
string
Description
Required.
Allowed values are:
  • component
  • mutationComponent
componentType.variations
Field Type
componentType[]
Description
Represents a component variation within a component. Available in API version 59.0 and later.
componentVariationType.rule
Field Type
rule type
Description
A visibility rule associated with a component variation. Available in API version 59.0 and later.
componentVariationType.variationId
Field Type
string
Description
The unique ID of a component variation. Available in API version 59.0 and later.
contentOperations
Field Type
contentOperationType
Description
A content operation of the variation or visibility type.
contentOperationsType.operations
Field Type
operationsType[]
Description
Component visibility operation.
expressionCriteriaType.criterionNumber
Field Type
integer
Description
The sequence number of an expression criteria. Available in API version 59.0 and later.
expressionCriteriaType.operator
Field Type
string
Description
Operator of the criteria or condition in a visibility rule.
Supported operators are:
  • EQUAL
  • NE: Does not equal
  • CONTAINS
  • NC: Does not contain
  • LT: Less than
  • GT: Greater than
  • LE: Less than or equal to
  • GE: Greater than or equal to
  • StartsWith
expressionCriteriaType.resource
Field Type
string
Description
The resource of the criteria or condition in a visibility rule.
expressionCriteriaType.value
Field Type
object
Description
The value of the criteria or condition in a visibility rule. The value can be number, boolean, or string.
operationsType.isActive
Field Type
boolean
Description
When true, the visibility operation is active.
operationsType.isHiddenOnOperationSuccess
Field Type
boolean
Description
When true, the component is hidden when the operation is successful.
operationsType.rule
Field Type
RuleType
Description
The component visibility rule.
operationsType.ruleToVariationList
Field Type
componentVariationType[]
Description
Variation rules associated with a specific component ID. Only 15 variations are allowed in one ruleToVariationList, which means only 15 variations can correspond to a specific targetId. Available in API version 59.0 and later.
operationsType.targetId
Field Type
string
Description
The component ID where the visibility rule is applied.
regionType.children
Field Type
componentType[]
Description
Represents individual components within the region.
regionType.id
Field Type
UUID
Description
Required.
Represents the UUID of a region.
regionType.name
Field Type
string
Description
Required.
Represents the name of the region.
regionType.title
Field Type
string
Description
Represents the label for a region.
regionType.type
Field Type
string
Description
Required.
region is the only allowed value.
regionType.variations
Field Type
componentType[]
Description
Represents a component variation within a region. Available in API version 59.0 and later.
ruleType.criteriaType
Field Type
string
Description
The condition or criteria type of the rule. Allowed values include AllCriteriaMatch and AnyCriterionMatches.
ruleType.customFormula
Field Type
string
Description
A custom formula created from expression criteria for a visibility rule. Available in API version 59.0 and later.
ruleType.description
Field Type
string
Description
The description of a visibility rule.
ruleType.expressionCriteria
Field Type
expressionCriteriaType[]
Description
The expression criteria of a visibility rule.
ruleType.name
Field Type
string
Description
The name of a visibility rule.
title
Field Type
string
Description
Required.
Represents the label of the content item.
type
Field Type
string
Description
Required.
Represents the content type. The only allowed value is sfdc_cms__themeLayout.
1{
2  "type" : "sfdc_cms__themeLayout",
3  "title" : "Service Not Available Theme Layout",
4  "contentBody" : {
5    "component" : {
6      "id" : "50458146-12d8-4dd7-a37b-62f71615c1a0",
7      "type" : "component",
8      "children" : [ {
9        "title": "Theme Header",
10          "id": "8fc2497b-fae7-4570-bc69-63a7a229e6fc",
11          "type": "region",
12          "name": "header",
13          "children": [
14            {
15              "id": "05224a3a-8044-9h2h-9187-b3f43155344d",
16              "type": "component",
17              "definition": "community_builder:htmlEditor",
18              "attributes": {
19                "richTextValue": "<div style=\"display: flex; justify-content: center; align-items: center; margin: 50px 0; flex-direction: column; text-align: center;\"><div style=\"background-image: url(assets/img/desert.svg); background-size: cover; background-position: center; height: 300px; width: 100%; max-width: 600px; min-width: 300px;\"></div><h1 class=\"slds-text-heading_medium slds-p-bottom_x-small\">Start Building Your Page</h1> <div>Drag and drop a component into the content slots.</div></div>"
20              },
21              "variations": [
22                {
23                  "id": "5d700461-4c2a-4930-98e5-366ec2a4d41e",
24                  "title": "Variation Country USA",
25                  "type": "mutationComponent",
26                  "definition": "community_builder:htmlEditor",
27                  "attributes": {
28                    "richTextValue": "<div style=\"display: flex; justify-content: center; align-items: center; margin: 50px 0; flex-direction: column; text-align: center;\"><div style=\"background-image: url(assets/img/desert.svg); background-size: cover; background-position: center; height: 300px; width: 100%; max-width: 600px; min-width: 300px;\"></div><h1 class=\"slds-text-heading_medium slds-p-bottom_x-small\">Start Building Your Page</h1> <div>Drag and drop a component into the content slots.</div></div>"
29                  }
30                }
31              ]
32            }
33          ]
34        },
35        {
36        "title" : "Theme Footer",
37        "id" : "05224a3a-8044-9h2h-9187-b3f43155344d",
38        "type" : "region",
39        "name" : "footer"
40      } ],
41      "definition" : "community_layout:simpleThemeLayout",
42      "attributes": {}
43    },    "contentOperations": {
44      "operations": [
45        {
46          "targetId": "05224a3a-8044-9h2h-9187-b3f43155344d",
47          "isHiddenOnOperationSuccess": false,
48          "isActive": true,
49          "rule": {
50            "name": "708b6ff0-d50c-4cea-a492-kkjk4b174e86",
51            "description": "",
52            "criteriaType": "AllCriteriaMatch",
53            "expressionCriteria": [
54              {
55                "resource": "User.Record.FirstName",
56                "operator": "Equal",
57                "value": "Clark"
58              }
59            ]
60          }
61        },
62        {
63          "targetId": "05224a3a-8044-9h2h-9187-b3f43155344d",
64          "ruleToVariationList": [
65            {
66              "variationId": "5d700461-4c2a-4930-98e5-366ec2a4d41e",
67              "rule": {
68                "name": "6e1ea488-13d8-477a-a9d7-93f442cc7936",
69                "description": "",
70                "criteriaType": "CustomLogicMatches",
71                "customFormula": "(1 && 3) || 2",
72                "expressionCriteria": [
73                  {
74                    "resource": "User.Record.Country",
75                    "operator": "Equal",
76                    "value": "USA",
77                    "criterionNumber": 1
78                  },
79                  {
80                    "resource": "User.Record.City",
81                    "operator": "Equal",
82                    "value": "Chicago",
83                    "criterionNumber": 2
84                  },
85                  {
86                    "resource": "User.Record.PostalCode",
87                    "operator": "Equal",
88                    "value": "60131",
89                    "criterionNumber": 3
90                  }
91                ]
92              }
93            }
94          ]
95        }
96      ]
97    }
98  }
99}

sfdc_cms__view Folder

This content type folder contains one content subfolder per view. Each content subfolder contains two or more JSON files:

  • _meta.json
  • content.json
  • If applicable, additional JSON files that represent variations of the content item

Each Experience Builder site is built from single-page applications, which are web apps that load a single HTML page. Single-page applications consist of multiple views that update the page dynamically as the user interacts with it. A view is made up of regions that contain other regions or components in the rendered page for the user. Single-page applications in your site are defined in the sfdc_cms__appPage folder.

Each content.json file in the sfdc_cms__view folder contains a hidden region named sfdcHiddenRegion. The hidden region contains a component with a definition of community_builder:seoAssistant that represents the SEO assistant component. This component corresponds to the SEO page properties that you can configure in Experience Builder and isn't visible on your pages. To improve search engine results, use the SEO assistant component to set the customHeadTags, description, and pageTitle properties for your public and custom site pages. You can’t edit the other properties associated with the SEO assistant component. To learn more about what the title, description, and custom head tags properties represent and which head tags are allowed, see SEO Page Properties in Experience Builder.

We recommend that you don’t add, reorder, or delete a component within a locked region using the DigitalExperienceBundle. To find out which regions are locked, in Experience Builder, view the Page Structure tab for the page that you’re working on. If the region that you’re modifying has a lock icon next to it, it’s a locked region.

Note

<apiName>/content.json

Property Description
children
Field Type
regionType[]
Description
Represents individual regions within a view.
component
Field Type
componentType
Description
Required.
Represents the view layout and contains regions and components that help render a view.
componentType.attributes
Field Type
map
Description
A map of design attribute values used by the component definition to render the definition.
componentType.attributes.dxpStyle
Field Type
map
Description
Lets you define visibility, padding, and margin values for a component.
Visibility controls whether the component is visible on desktop, tablet, and mobile versions of your site.
Margin and padding are map types that contain string properties for top, right, bottom, and left spacing. Padding controls space within a component. Margin controls space around the outside of a component. Units for margin and padding can be px, rem, or %, and all four spacing values must use the same unit. This field is available in API version 57.0 and later.
componentType.children
Field Type
regionType[]
Description
Represents regions within a component.
componentType.definition
Field Type
string
Description
Required.
Represents the name of the Lightning Web Component (LWC) in the format namespace:componentName.
componentType.id
Field Type
UUID
Description
Required.
Represents the UUID of a component.
componentType.scopedBrandingSetId
Field Type
content link
Description
Represents the brandingSet that applies to this component. The brandingSet must be of type SCOPED.
This property is applicable only if the component’s definitionName is community_layout:section.
componentType.customCssClasses
Field Type
string
Description
Represents the custom CSS classes applied to the host element of the component. Must be a space-delimited list of valid CSS classes. This field is available in API version 59.0 and later.
componentType.title
Field Type
string
Description
Represents a component variation name. Available in API version 59.0 and later.
componentType.type
Field Type
string
Description
Required.
Allowed values are:
  • component
  • mutationComponent
componentType.variations
Field Type
componentType[]
Description
Represents a component variation within a component. Available in API version 59.0 and later.
componentVariationType.rule
Field Type
rule type
Description
A visibility rule associated with a component variation. Available in API version 59.0 and later.
componentVariationType.variationId
Field Type
string
Description
The unique ID of a component variation. Available in API version 59.0 and later.
contentOperations
Field Type
contentOperationType
Description
A content operation of the variation or visibility type.
expressionCriteriaType.criterionNumber
Field Type
integer
Description
The sequence number of an expression criteria. Available in API version 59.0 and later.
contentOperationsType.operations
Field Type
operationsType[]
Description
Component visibility operation.
expressionCriteriaType.operator
Field Type
string
Description
Operator of the criteria or condition in a visibility rule.
Supported operators are:
  • EQUAL
  • NE: Does not equal
  • CONTAINS
  • NC: Does not contain
  • LT: Less than
  • GT: Greater than
  • LE: Less than or equal to
  • GE: Greater than or equal to
  • StartsWith
expressionCriteriaType.resource
Field Type
string
Description
The resource of the criteria or condition in a visibility rule.
expressionCriteriaType.value
Field Type
object
Description
The value of the criteria or condition in a visibility rule. The value can be number, boolean, or string.
operationsType.isActive
Field Type
boolean
Description
When true, the visibility operation is active.
operationsType.isHiddenOnOperationSuccess
Field Type
boolean
Description
When true, the component is hidden when the operation is successful.
operationsType.rule
Field Type
RuleType
Description
The component visibility rule.
operationsType.ruleToVariationList
Field Type
componentVariationType[]
Description
Variation rules associated with a specific component ID. Only 15 variations are allowed in one ruleToVariationList, which means only 15 variations can correspond to a specific targetId. Available in API version 59.0 and later.
operationsType.targetId
Field Type
string
Description
The component ID where the visibility rule is applied.
regionType.children
Field Type
componentType[]
Description
Represents individual components within the region.
regionType.id
Field Type
UUID
Description
Required.
Represents the UUID of a region.
regionType.name
Field Type
string
Description
Required.
Represents the name of the region.
regionType.title
Field Type
string
Description
Represents the label for a region.
regionType.type
Field Type
string
Description
Required.
region is the only allowed value.
regionType.variations
Field Type
componentType[]
Description
Represents a component variation within a region. Available in API version 59.0 and later.
ruleType.criteriaType
Field Type
string
Description
The condition or criteria type of the rule. Allowed values include AllCriteriaMatch and AnyCriterionMatches.
ruleType.customFormula
Field Type
string
Description
A custom formula created from expression criteria for a visibility rule. Available in API version 59.0 and later.
ruleType.description
Field Type
string
Description
The description of a visibility rule.
ruleType.expressionCriteria
Field Type
expressionCriteriaType[]
Description
The expression criteria of a visibility rule.
ruleType.name
Field Type
string
Description
The name of a visibility rule.
themeLayoutType
Field Type
string
Description
Required.
Represents the apiName of the view’s active theme layout.
Must reference an existing theme layout in the same workspace.
title
Field Type
string
Description
Represents the name of the view. Limited to 80 characters.

We recommend keeping the title value and the pageTitle value in sync. If you update either value for a view, ensure that you manually update the other value in the same content.json file to match.

Note

type
Field Type
string
Description
Required.
Represents the content type. The only allowed value is sfdc_cms__view.
viewType
Field Type
string
Description
Required.
Identifies the type of view. The viewType value must be unique within a workspace. This value must match the routeType value in the corresponding route content item.
1{
2  "type" : "sfdc_cms__view",
3  "title" : "Home",
4  "contentBody" : {
5    "themeLayoutType" : "Inner",
6    "viewType" : "home",
7    "component" : {
8      "id" : "40c14c97-1846-4872-8e9e-cdf3d11beb34",
9      "type" : "component",
10      "children" : [ {
11        "title" : "Content",
12        "id" : "c507f23d-6e2a-457a-9656-2377846dd639",
13        "type" : "region",
14        "children" : [ {
15          "id" : "21f99012-3a2f-488e-bf48-f782dc7b4300",
16          "type" : "component",
17          "children" : [ {
18            "title" : "Column 1",
19             "id": "05224a3a-8044-4bfb-9187-b3f43155344d",
20            "type" : "region",
21            "children" : [ {
22              "id" : "05224a3a-8044-4bfb-9187-b3f43155344d",
23              "type" : "component",
24              "definition" : "community_builder:htmlEditor",
25              "attributes" : {
26                "dxpStyle" : {
27                  "isVisible" : false,
28                  "margin" : {
29                    "bottom" : "20px",
30                    "left" : "20px",
31                    "right" : "20px",
32                    "top" : "20px"
33                  },
34                  "padding" : {
35                    "bottom" : "20px",
36                    "left" : "20px",
37                    "right" : "20px",
38                    "top" : "20px"
39                  }
40                },
41                "richTextValue" : "<div style=\"display: flex; justify-content: center; align-items: center; margin: 50px 0; flex-direction: column; text-align: center;\"><div style=\"background-image: url(assets/img/desert.svg); background-size: cover; background-position: center; height: 300px; width: 100%; max-width: 600px; min-width: 300px;\"></div><h1 class=\"slds-text-heading_medium slds-p-bottom_x-small\">Start Building Your Page</h1> <div>Drag and drop a component into the content slots.</div></div>"
42              },
43               "variations": [
44                        {
45                          "id": "5d700461-4c2a-4930-98e5-366ec2a4d41e",
46                          "title": "Variation Country USA",
47                          "type": "mutationComponent",
48                          "definition": "community_builder:htmlEditor",
49                          "attributes": {
50                            "richTextValue": "<div style=\"display: flex; justify-content: center; align-items: center; margin: 50px 0; flex-direction: column; text-align: center;\"><div style=\"background-image: url(assets/img/desert.svg); background-size: cover; background-position: center; height: 300px; width: 100%; max-width: 600px; min-width: 300px;\"></div><h1 class=\"slds-text-heading_medium slds-p-bottom_x-small\">Start Building Your Page</h1> <div>Drag and drop a component into the content slots.</div></div>"
51                          }
52                        }
53                      ]
54              "customCssClasses": "myClass"
55            } ],
56            "name" : "col1"
57          } ],
58          "definition" : "community_layout:section",
59          "attributes" : {
60            "backgroundImageConfig" : "",
61            "backgroundImageOverlay" : "rgba(0,0,0,0)",
62            "sectionConfig" : "{\"UUID\":\"21f99012-3a2f-488e-bf48-f782dc7b4300\",\"columns\":[{\"UUID\":\"5019aeeb-6437-4194-8369-22c19aa45dc9\",\"columnName\":\"Column 1\",\"columnKey\":\"col1\",\"columnWidth\":\"12\",\"seedComponents\":null}]}"
63          }
64        } ],
65        "name" : "content"
66      }, {
67        "title" : "sfdcHiddenRegion",
68        "id" : "8157e041-9c41-460a-b596-c45babbbd53b",
69        "type" : "region",
70        "children" : [ {
71          "id" : "2d536aae-a859-4264-ba9e-9a569daf7213",
72          "type" : "component",
73          "definition" : "community_builder:seoAssistant",
74          "attributes" : {
75            "customHeadTags" : "",
76            "description" : "",
77            "pageTitle" : "Home",
78            "recordId" : "{!recordId}"
79          }
80        } ],
81        "name" : "sfdcHiddenRegion"
82      } ],
83      "definition": "community_layout:sldsFlexibleLayout"
84    },
85    "contentOperations": {
86      "operations": [
87        {
88          "targetId": "05224a3a-8044-4bfb-9187-b3f43155344d",
89          "isHiddenOnOperationSuccess": false,
90          "isActive": true,
91          "rule": {
92            "name": "a53bb452-003f-4015-a751-0403c70731a1",
93            "description": "",
94            "criteriaType": "AllCriteriaMatch",
95            "expressionCriteria": [
96              {
97                "resource": "User.isGuest",
98                "operator": "Equal",
99                "value": false
100              }
101            ]
102          }
103        },
104        {
105          "targetId": "05224a3a-8044-9h2h-9187-b3f43155344d",
106          "ruleToVariationList": [
107            {
108              "variationId": "5d700461-4c2a-4930-98e5-366ec2a4d41e",
109              "rule": {
110                "name": "6e1ea488-13d8-477a-a9d7-93f442cc7936",
111                "description": "",
112                "criteriaType": "CustomLogicMatches",
113                "customFormula": "(1 && 3) || 2",
114                "expressionCriteria": [
115                  {
116                    "resource": "User.Record.Country",
117                    "operator": "Equal",
118                    "value": "USA",
119                    "criterionNumber": 1
120                  },
121                  {
122                    "resource": "User.Record.City",
123                    "operator": "Equal",
124                    "value": "Chicago",
125                    "criterionNumber": 2
126                  },
127                  {
128                    "resource": "User.Record.PostalCode",
129                    "operator": "Equal",
130                    "value": "60131",
131                    "criterionNumber": 3
132                  }
133                ]
134              }
135            }
136          ]
137        }
138      ]
139    }
140  }
141}

Declarative Metadata Sample Definition

The following is an example of a DigitalExperienceBundle component.

1<?xml version="1.0" encoding="UTF-8"?>
2<DigitalExperienceBundle xmlns="http://soap.sforce.com/2006/04/metadata">
3    <description>content</description>
4<label>isv1</label>
5</DigitalExperienceBundle>

The following is an example package.xml that references the previous definition.

1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3    <types>
4        <members>site/isv1</members>
5        <name>DigitalExperienceBundle</name>
6    </types>
7    <version>56.0</version>
8</Package>

Usage

Before you update the JSON files of an Experience Builder site, we recommend making a copy of the site’s folder as a backup.

Tip

To retrieve and deploy DigitalExperienceBundle, use legacy sfdx commands.

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.