16. Add Value Mapping Set for Account MembershipΒΆ
In order to map values from the source object (CRM account membership entity) to a target object (Sitecore contact), 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 Membership to xDB Contact
- Navigate to CRM Account Membership to xDB Contact.
- 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 Membership Attributes > Account Id
- Set the following field value:
Field Value accessor for target object Value Data Access > Value Accessor Sets > Providers > Sitecore > xDB Contact Properties for Account Membership > Account Id
- Set the following field value:
Field Transformer for source value Value Value Readers > Common > Guid Value Reader
- Save the item.