Newer Version Available

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

DigitalExperienceBundle: Marketing Workspace Bundle and Folders

DigitalExperienceBundle uses the marketing workspace type to organize content items used in marketing campaigns in a content-focused, text-based code structure.

For Marketing Cloud, the marketing folder contains one or more workspace folders, each representing an individual marketing workspace. Each workspace folder contains a collection of related content items, such as landing pages, forms, and emails, and their associated images and branding.

The folder for each marketing workspace includes content type folders, content item subfolders, and associated data that's contained in content.json and _meta.json files.

Marketing workspace type folder structure

The following content type folders represent the content types that are supported in a marketing workspace. For example, forms for a marketing workspace are stored under a content type folder called sfdc_cms__form.

sfdc_cms__email Folder

This content type folder contains one content subfolder per email. 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

1{
2  "type" : "sfdc_cms__email",
3  "title" : "Email_marketingSpaceA",
4  "contentBody" : {
5    "backgroundColor" : "#f3f3f3",
6    "lightning:brandSource" : {
7      "defaultBrandOption" : "sfdcBrand"
8    },
9    "lightning:colorScheme" : "{!$brand.colorScheme}",
10    "lightning:dataProviders" : [ {
11      "attributes" : {
12        "objectApiName" : "UnifiedIndividual__dlm"
13      },
14      "definition" : "sfdc_cms__unifiedIndividualDataProvider",
15      "sfdcExpressionKey" : "unifiedIndividual"
16    } ],
17    "lightning:padding" : "{!$brand.spacing.none}",
18    "messagePurpose" : "promotional",
19    "sfdc_cms:block" : {
20      "definition" : "sfdc_cms/rootContentBlock",
21      "id" : "6458e24b-c1a8-4f7d-b6f0-3659c092f1c3",
22      "type" : "block",
23      "children" : [ {
24        "attributes" : {
25          "lightning:borderRadius" : "{!$brand.borderRadius.square}",
26          "lightning:borderWidth" : "{!$brand.borderWeight.none}",
27          "lightning:colorScheme" : "{!$brand.colorScheme}",
28          "lightning:margin" : "{!$brand.spacing.none}",
29          "lightning:padding" : "{!$brand.spacing.xSmall}",
30          "stackOnMobile" : true,
31          "lightning:backgroundImage" : {
32            "repeat" : "no-repeat",
33            "position" : "center center",
34            "size" : "cover"
35          }
36        },
37        "definition" : "lightning/section",
38        "id" : "b61c4d08-7985-41f2-a38c-7f8338e56e00",
39        "type" : "block",
40        "children" : [ {
41          "attributes" : {
42            "columnWidth" : 12.0,
43            "lightning:borderRadius" : "{!$brand.borderRadius.square}",
44            "lightning:borderWidth" : "{!$brand.borderWeight.none}",
45            "lightning:colorScheme" : "{!$brand.colorScheme}",
46            "lightning:margin" : "{!$brand.spacing.none}",
47            "lightning:padding" : "{!$brand.spacing.xSmall}",
48            "lightning:verticalAlignment" : "top",
49            "lightning:backgroundImage" : {
50              "repeat" : "no-repeat",
51              "position" : "center center",
52              "size" : "cover"
53            }
54          },
55          "definition" : "lightning/column",
56          "id" : "778d9976-82ec-49aa-a3de-ac6485332434",
57          "type" : "block",
58          "children" : [ ]
59        } ]
60      } ]
61    },
62    "sfdc_cms:title" : "Email_marketingSpaceA",
63    "subjectLine" : "Email_marketingSpaceA subject{!$organization.Address}",
64    "lightning:expressions" : [ ],
65    "lightning:backgroundImage" : {
66      "repeat" : "no-repeat",
67      "position" : "center center",
68      "size" : "cover"
69    },
70    "sfdc_cms:variants" : [ ]
71  },
72  "urlName" : "email-mk1"
73}

sfdc_cms__form Folder

This content type folder contains one content subfolder per form. 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

1{
2  "type" : "sfdc_cms__form",
3  "title" : "Form1_mk1",
4  "contentBody" : {
5    "lightning:brandSource" : {
6      "defaultBrandOption" : "sfdcBrand"
7    },
8    "lightning:dataProviders" : [ {
9      "attributes" : {
10        "objectApiName" : "Account",
11        "recordTypeId" : "012000000000000AAA"
12      },
13      "definition" : "sfdc_cms__recordDataProvider",
14      "sfdcExpressionKey" : "Flow1"
15    } ],
16    "sfdc_cms:block" : {
17      "definition" : "sfdc_cms/rootContentBlock",
18      "id" : "fef7b2b0-5ddf-4f0e-b0d5-cdbc77a897e9",
19      "type" : "block",
20      "children" : [ {
21        "attributes" : {
22          "lightning:borderRadius" : "{!$brand.borderRadius.square}",
23          "lightning:borderWidth" : "{!$brand.borderWeight.none}",
24          "lightning:colorScheme" : "{!$brand.colorScheme}",
25          "lightning:margin" : "{!$brand.spacing.none}",
26          "lightning:padding" : "{!$brand.spacing.xSmall}",
27          "stackOnMobile" : true,
28          "lightning:backgroundImage" : {
29            "repeat" : "no-repeat",
30            "position" : "center center",
31            "size" : "cover"
32          }
33        },
34        "definition" : "lightning/section",
35        "id" : "43dc4273-47e2-43ad-9e64-f0862eb0fcdf",
36        "type" : "block",
37        "children" : [ {
38          "attributes" : {
39            "columnWidth" : 12.0,
40            "lightning:borderRadius" : "{!$brand.borderRadius.square}",
41            "lightning:borderWidth" : "{!$brand.borderWeight.none}",
42            "lightning:colorScheme" : "{!$brand.colorScheme}",
43            "lightning:margin" : "{!$brand.spacing.none}",
44            "lightning:padding" : "{!$brand.spacing.xSmall}",
45            "lightning:verticalAlignment" : "top",
46            "lightning:backgroundImage" : {
47              "repeat" : "no-repeat",
48              "position" : "center center",
49              "size" : "cover"
50            }
51          },
52          "definition" : "lightning/column",
53          "id" : "95fc1b5c-481d-4d32-bd03-fec0a4d7aaa0",
54          "type" : "block",
55          "children" : [ {
56            "attributes" : {
57              "lightning:borderRadius" : "{!$brand.borderRadius.square}",
58              "lightning:borderWidth" : "{!$brand.borderWeight.none}",
59              "lightning:formInputColorGroup" : {
60                "backgroundColor" : "{!$brand.colorScheme.root}",
61                "borderColor" : "{!$brand.colorScheme.neutral}",
62                "textColor" : "{!$brand.colorScheme.contrast}"
63              },
64              "lightning:horizontalAlignment" : "left",
65              "lightning:inputTypography" : "{!$brand.typography.input.input1}",
66              "lightning:labelTypography" : "{!$brand.typography.label.label1}",
67              "lightning:margin" : "{!$brand.spacing.none}",
68              "lightning:padding" : "{!$brand.spacing.none}",
69              "maxLength" : 255.0,
70              "sfdc_cms:fieldReference" : "{!Flow1.Name}",
71              "sfdc_cms:formInputLabelProperty" : "Account Name",
72              "sfdc_cms:formInputNameProperty" : "Name",
73              "sfdc_cms:formInputRequiredProperty" : true,
74              "width" : "auto"
75            },
76            "definition" : "lightning/inputText",
77            "id" : "6aac0596-26c6-457a-9a9a-cc43ba622739",
78            "type" : "block"
79          } ]
80        } ]
81      }, {
82        "attributes" : {
83          "lightning:borderRadius" : "{!$brand.borderRadius.square}",
84          "lightning:borderWidth" : "{!$brand.borderWeight.none}",
85          "lightning:colorScheme" : "{!$brand.colorScheme}",
86          "lightning:margin" : "{!$brand.spacing.none}",
87          "lightning:padding" : "{!$brand.spacing.xSmall}",
88          "stackOnMobile" : true,
89          "lightning:backgroundImage" : {
90            "repeat" : "no-repeat",
91            "position" : "center center",
92            "size" : "cover"
93          }
94        },
95        "definition" : "lightning/section",
96        "id" : "7fe6298e-8c83-4dac-9596-02c629fdc519",
97        "type" : "block",
98        "children" : [ {
99          "attributes" : {
100            "columnWidth" : 12.0,
101            "lightning:borderRadius" : "{!$brand.borderRadius.square}",
102            "lightning:borderWidth" : "{!$brand.borderWeight.none}",
103            "lightning:colorScheme" : "{!$brand.colorScheme}",
104            "lightning:margin" : "{!$brand.spacing.none}",
105            "lightning:padding" : "{!$brand.spacing.xSmall}",
106            "lightning:verticalAlignment" : "top",
107            "lightning:backgroundImage" : {
108              "repeat" : "no-repeat",
109              "position" : "center center",
110              "size" : "cover"
111            }
112          },
113          "definition" : "lightning/column",
114          "id" : "976bff41-3fa9-4d04-aaf8-3590cb87909f",
115          "type" : "block",
116          "children" : [ {
117            "attributes" : {
118              "lightning:borderRadius" : "{!$brand.buttonStyleGroup.primary.lightning:borderRadius}",
119              "lightning:borderWidth" : "{!$brand.buttonStyleGroup.primary.lightning:borderWidth}",
120              "lightning:buttonColorGroup" : "{!$brand.buttonStyleGroup.primary.lightning:buttonColorGroup}",
121              "lightning:horizontalAlignment" : "center",
122              "lightning:margin" : "{!$brand.spacing.none}",
123              "lightning:padding" : "{!$brand.buttonStyleGroup.primary.lightning:padding}",
124              "lightning:typography" : "{!$brand.buttonStyleGroup.primary.lightning:typography}",
125              "sfdc_cms:styleGroup" : "{!$brand.buttonStyleGroup.primary}",
126              "text" : "Submit",
127              "width" : "auto",
128              "lightning:click" : {
129                "actions" : [ {
130                  "definition" : "sfdc_cms/customEventAction",
131                  "attributes" : {
132                    "type" : "formsubmit",
133                    "options" : {
134                      "bubbles" : true
135                    }
136                  }
137                } ]
138              }
139            },
140            "definition" : "lightning/actionButton",
141            "id" : "84c67ba2-fffc-46d1-80af-35e66ae85ef3",
142            "type" : "block"
143          } ]
144        } ]
145      } ]
146    },
147    "sfdc_cms:title" : "Form1_mk1",
148    "formsubmission" : {
149      "actions" : [ {
150        "definition" : "sfdc_cms/umaFormSubmissionAction",
151        "attributes" : {
152          "formId" : "{!$form.id}",
153          "pageReferenceId" : "{!$page.id}",
154          "formData" : "{!$form.fields}"
155        }
156      }, {
157        "definition" : "sfdc_cms/showThankYouAction",
158        "attributes" : {
159          "message" : "Thank you for your submission."
160        }
161      } ]
162    }
163  },
164  "urlName" : "form1-mk1"
165}

sfdc_cms__image Folder

This content type folder contains one content subfolder per image. Each content subfolder contains two or more JSON files and a _media subfolder that contains the image file.

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

<apiName>/content.json

1{
2  "type" : "sfdc_cms__image",
3  "title" : "Img1_mk1",
4  "contentBody" : {
5    "sfdc_cms:media" : {
6      "source" : {
7        "mimeType" : "image/png",
8        "ref" : "0sNSB000001rKsr2AE",
9        "type" : "file",
10        "size" : 538158
11      }
12    }
13  },
14  "urlName" : "img1-mk1"
15}

sfdc_cms__landingPage Folder

This content type folder contains one content subfolder per landing page. 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

1{
2  "type" : "sfdc_cms__landingPage",
3  "title" : "LandingPageA_marketingSpaceA",
4  "contentBody" : {
5    "lightning:brandSource" : {
6      "defaultBrandOption" : "sfdcBrand"
7    },
8    "sfdc_cms:block" : {
9      "definition" : "sfdc_cms/rootContentBlock",
10      "id" : "ac065643-646a-4b1e-b5ed-7eeeed90d0d3",
11      "type" : "block",
12      "children" : [ {
13        "attributes" : {
14          "lightning:borderRadius" : "{!$brand.borderRadius.square}",
15          "lightning:borderWidth" : "{!$brand.borderWeight.none}",
16          "lightning:colorScheme" : "{!$brand.colorScheme}",
17          "lightning:margin" : "{!$brand.spacing.none}",
18          "lightning:padding" : "{!$brand.spacing.xSmall}",
19          "stackOnMobile" : true,
20          "lightning:backgroundImage" : {
21            "repeat" : "no-repeat",
22            "position" : "center center",
23            "size" : "cover"
24          }
25        },
26        "definition" : "lightning/section",
27        "id" : "f6371eda-aafc-4164-a18f-284e49071b76",
28        "type" : "block",
29        "children" : [ {
30          "attributes" : {
31            "columnWidth" : 12.0,
32            "lightning:borderRadius" : "{!$brand.borderRadius.square}",
33            "lightning:borderWidth" : "{!$brand.borderWeight.none}",
34            "lightning:colorScheme" : "{!$brand.colorScheme}",
35            "lightning:margin" : "{!$brand.spacing.none}",
36            "lightning:padding" : "{!$brand.spacing.xSmall}",
37            "lightning:verticalAlignment" : "top",
38            "lightning:backgroundImage" : {
39              "repeat" : "no-repeat",
40              "position" : "center center",
41              "size" : "cover"
42            }
43          },
44          "definition" : "lightning/column",
45          "id" : "db82b936-f2d8-4d47-b373-71dff7fc1f1d",
46          "type" : "block",
47          "children" : [ {
48            "attributes" : {
49              "imageFitConfig" : {
50                "width" : {
51                  "unit" : "%",
52                  "value" : 100.0
53                }
54              },
55              "imageInfo" : {
56                "altText" : "",
57                "overrideAltText" : false,
58                "source" : {
59                  "ref" : "Img1_mk1",
60                  "type" : "imageReference"
61                },
62                "url" : "/cms/media/MCWJDAQWY2HREBRENINOZIKNNVNM"
63              },
64              "lightning:borderRadius" : "{!$brand.borderRadius.square}",
65              "lightning:borderWidth" : "{!$brand.borderWeight.none}",
66              "lightning:colorGroup" : {
67                "backgroundColor" : "{!$brand.colorScheme.root}",
68                "borderColor" : "{!$brand.colorScheme.neutral}",
69                "linkColor" : "{!$brand.colorScheme.primaryAccent}",
70                "textColor" : "{!$brand.colorScheme.contrast}"
71              },
72              "lightning:horizontalAlignment" : "center",
73              "lightning:margin" : "{!$brand.spacing.none}",
74              "lightning:padding" : "{!$brand.spacing.none}",
75              "lightning:typography" : "{!$brand.typography.paragraph.paragraph1}"
76            },
77            "definition" : "lightning/image",
78            "id" : "6775db07-8343-420c-918a-0d91c193902d",
79            "type" : "block"
80          } ]
81        } ]
82      } ]
83    },
84    "sfdc_cms:seoProperties" : {
85      "isIndexed" : false,
86      "title" : "LandingPageA_marketingSpaceA"
87    },
88    "sfdc_cms:title" : "LandingPageA_marketingSpaceA",
89    "lightning:dataProviders" : [ ],
90    "lightning:backgroundImage" : {
91      "repeat" : "no-repeat",
92      "position" : "center center",
93      "size" : "cover"
94    }
95  },
96  "urlName" : "lp1-mk1"
97}

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

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  "urlName" : "languagecontent"
14}