8. Assign Converter to Entity Repository TemplateΒΆ

The converter created in Implement Converter for Entity Repository Template is always used to convert items based on the template created in Add Template for Entity Repository. This can be set up on the template so the converter is assigned automatically when a new item is created.

  1. In Sitecore, open Template Manager.
  2. Navigate to Templates > Data Exchange > Providers > Dynamics CRM > Repositories > XRM Client Account Membership Repository.
  3. Add standard values to the template.
  4. Navigate to the standard values item.
  5. Set the following field value:
Field name Entity name
Value accountmembership
  1. Set the following field value:
Field name Converter type
Value Examples.DynamicsCrm.Converters.XrmClientAccountMembershipRepositoryConverter, Examples.DynamicsCrm
  1. Save the item.