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.
- In Sitecore, open Template Manager.
- Navigate to Templates > Data Exchange > Providers > Dynamics CRM > Repositories > XRM Client Account Membership Repository.
- Add standard values to the template.
- Navigate to the standard values item.
- Set the following field value:
Field name Entity name Value accountmembership
- Set the following field value:
Field name Converter type Value Examples.DynamicsCrm.Converters.XrmClientAccountMembershipRepositoryConverter, Examples.DynamicsCrm
- Save the item.