Sitecore Connect for Content Hub - CMP
The Sitecore Content Marketing Platform (CMP) part of the Sitecore for Content Hub connector lets you synchronize content created in Sitecore Content Hub to Sitecore Experience Platform (XP).
For information on which versions of SCCH and SXP are compatible, see this knowledgebase article.
With the CMP module, you can:
-
Map Sitecore Content Hub fields to Sitecore fields.
-
Create a language version based on the relationship in Sitecore Content Hub.
-
Update items automatically.
-
Set the publication date.
-
Create content items in buckets.
-
Map Sitecore Content Hub relation fields to Sitecore fields.
-
Create the Sitecore Content Hub taxonomy values in Sitecore tags and link them to the Sitecore item.
-
Link the different Content Hub asset types in Sitecore.
The CMP architecture
The key architecture components in the Sitecore CMP module are: the Azure Service Bus, Sitecore Content Hub, and Sitecore.
The following diagram shows a simplified version of the architecture:
The CMP process
The following describes the CMP connector process:
-
The CMP connector listens to the Azure Service Bus topic’s subscription for new messages. Sitecore Content Hub listens to certain changes, which triggers an action that sends a message to the Azure Service Bus topic.
-
When a message is received, the CMP connector expects an identifier. If it exists, the connector gets a content type from the Sitecore Content Hub.
-
The CMP connector creates a new item (or updates an existing item) in one of the preconfigured item buckets (or a new (language) version of an existing item).
-
The CMP connector saves fields from the Sitecore Content Hub content type into the item’s fields. You can specify which fields to save in the configuration.
-
The CMP connector creates the Sitecore Content Hub taxonomy values as Sitecore tags and links the tags to the Sitecore item.
-
The CMP connector links the Sitecore Content Hub assets that already exist in Sitecore to the configured fields in the configuration.
-
The CMP connector checks for localization and localization parents of the source:
-
If the content type has a
LocalizationToContent
relation, it is used to decide in which language the item (version) must be created. -
If the content type has a
ContentToContentLocalization
relation, the entity is considered as a localization of another entity and instead of creating an item, the connector looks for another item that is linked to theContentToContentLocalization
parent.
-
-
The CMP connector sends a message to the Azure Service Bus topic with information about the item that was just created or updated in Sitecore.
-
Any exceptions are added to the Service Bus message. All exceptions are written to Sitecore log files.