Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 4 Next »

Mapping metadata

Mappings are stored in Salesforce and determine how Leads or Contacts are identified, and how data should be copied back and forth between Salesforce and Sitecore CDP.

Mappings are created as CDP4SMapping__c custom objects. CDP4S provides a convenient GUI to manage mappings.

Description of fields:

  • Guest Field: references the property in the Sitecore CDP JSON Guest object. Note this allows complex nesting.

  • Salesforce Field: the API name of the field on the Guest or master object in Salesforce.

  • Mapping Type: determines the function of the mapping as below.

Mapping types

Identity is a special type that indicates the value should be used to locate an existing object. An error will occur if this property has no value.

Type

Sitecore CDP > Salesforce

Salesforce > Sitecore CDP

Identity

Used for new object only

Not updated

Personalize only

Not updated

Always updated

Default value

Only if existing value is empty

Not updated

Default value and Personalize

Only if existing value is empty

Always updated

Always update

Always updated

Not updated

Always update and Personalize

Always updated

Always updated

You may create multiple mappings for the same field if required to achieve the desired results.

Object types

The mappings always apply to the object type inferred by the Master Lookup Field setting, which may be a Lead, Contact, any other standard or custom object, or Sitecore_CDP_Guest__c if none specified. If the master object is a Lead and conversion handling is enabled, CDP4S will attempt to map to the resulting Contact.

Fields that do not exist on the target object will be ignored, except in the case of Identity mappings.

  • No labels