6. Add Value Mapping SetΒΆ
In order to map values from the source object (CRM account entity) to a target object (Sitecore account item), you must define a value mapping set.
- Navigate to your tenant.
- Navigate to Value Mapping Sets.
- Add the following item:
Template Value Mapping Set Name CRM Account to Sitecore Item
- Navigate to CRM Account to Sitecore Item.
- Add the following item:
Template Value Mapping Name Account Id
- Set the following field value:
Field Value accessor for source object Value Data Access > Value Accessor Sets > Providers > Dynamics CRM > CRM Account Attributes > Account Id
- Set the following field value:
Field Value accessor for target object Value Data Access > Value Accessor Sets > Providers > Sitecore > Sitecore Account Item Fields > Account Id
- Save the item.
- Navigate to CRM Account to Sitecore Item.
- Add the following item:
Template Value Mapping Name Account Name
- Set the following field value:
Field Value accessor for source object Value Data Access > Value Accessor Sets > Providers > Dynamics CRM > CRM Account Attributes > Account Name
- Set the following field value:
Field Value accessor for target object Value Data Access > Value Accessor Sets > Providers > Sitecore > Sitecore Account Item Fields > Account Name
- Save the item.