The schema snippets on this page are used in the documentation to demonstrate how to set up a Dynamic Content Salesforce Commerce Cloud (SFCC) integration.
As with the other schema examples, the examples on this page should be created and registered as content types on your hub.
These examples make use of the schemas included in the Dynamic Content Accelerators. You can register the required accelerators as shown on the accelerators schema examples page or modify the SFCC schema examples to include your own content types.
The schema shown below is for an example blog content asset including properties that can be mapped to standard fields in SFCC. See the setting up a content asset integration page for details of how to set up the field mappings.
Note that this example uses the image, text and video schemas from the accelerators schema examples. Update the content array to include your own content types.
This content type schema is designed for use with the Dynamic Content SFCC Content Asset integration. The schema is a container used to enable existing content to be used with the integration.
This example schema is a container for localized content items. The content property is defined as a localized value allowing the user to add content items localized for each locale.
This is am example slot schema for use with the Dynamic Content Salesforce Commerce Cloud (SFCC) slot integration. The mapping between a Dynamic Content slot and an SFCC content slot is setup when a slot is created.
The slot type includes an _environment property which contains 4 properties within it: sfcc_slot, sfcc_category_slot, sfcc_folder_slot and sfcc_site. These properties are only used in the SFCC integration.
An example of creating a slot item using a slot type registered from the SFCC slot schema is shown in the image below. You can enter the SFCC slot, site and other environment fields when you create the slot.
When the slot is added to an edition, the SFCC specific fields will not be shown.
This is an example slot type schema that uses the localization features of the Dynamic Content Salesforce Commerce Cloud (SFCC) slot integration
To use this example the user will add individual content items, localized for each locale, to a slot created from a slot type registered from this schema.
The mapping between a Dynamic Content slot and an SFCC content slot is setup when a slot is created.
The slot type schema includes an _environment property which contains two properties within it: sfcc_slot, sfcc_category_slot, sfcc_folder_slot and sfcc_site_slot These properties are only used in the SFCC integration.
See the SFCC localization page for more details about localization features. Slot mapping is explained in detail on the SFCC slot mapping page.
An example of creating a slot item using a slot type registered from the localized SFCC slot schema is shown in the image below. In this example you can specify the slot, site and category ids when a slot is created.
When the slot is added to an edition, the SFCC specific fields will not be shown. You will be able to add content for each locale.