Display Salesforce CMS Content
You can use CMS content in your Experience Builder sites and other systems by configuring CMS to allow access to the content and integrating other systems with CMS. For B2C Commerce Cloud, use built-in integration features to access the CMS content. For Experience Builder sites, add your site as a channel in your CMS workspace. For Marketing Cloud, Heroku, and other systems, use public channels or develop a connected app to access the CMS content.
Before you share CMS content, consider the content’s workspace and its content type.
When you assign a channel to a workspace, the channel can be used to select any content in that workspace. If your workspace contains content that you don’t want to share, place that content in a different workspace.
An integration uses content types to determine how to handle and display content. To ensure that content displays correctly, create custom content types for each type of content.
Create a CMS channel to share content with the other system.
- Create a CMS channel that matches the type of integration.
- Assign the CMS channel to the desired workspaces.
The integration steps vary based on the system you want to share content with.
You can use CMS content in B2C Commerce Cloud on Page Designer pages or as assets for content slots. CMS channels provide the connection to CMS. B2C Commerce Cloud components allow Page Designer and content slots to access the content.
After you set your Experience Builder site as a channel in your CMS workspace, add content to your site, and then display it by:
Using standard components for your Aura sites
Using data binding with components in Build Your Own (LWR) sites
Creating custom Lightning web components backed by CMS data
In Marketing Cloud, Content Builder can use CMS content for CloudPages and other types of messaging. To import CMS content for use in Marketing Cloud, use public channels or develop a connected app. This example uses a connected app to retrieve the content from CMS and copy it to Marketing Cloud.
- Build Static Sites with Salesforce CMS Headless APIs and Heroku (Salesforce Blog)
For external systems like Heroku, use public channels or develop a connected app. This blog shows how a connected app retrieves the content from CMS, converts it to a format that the other system can import, and imports the content.
If your integration uses a connected app, you can create an interface for users to initiate the connected app to copy new CMS content. For more information, see Create a Panel to Initiate Content Sync.