10. Implement Converter for Read Members Pipeline StepΒΆ
A converter is needed to transform items created using the template from Add Template for Read Members Pipeline Step into entity repository objects that can be used by pipeline step processors.
- In Visual Studio, add the following class:
using Sitecore.DataExchange.Attributes;
using Sitecore.DataExchange.Providers.DynamicsCrm.Converters.PipelineSteps;
using Sitecore.DataExchange.Repositories;
using System;
namespace Examples.DynamicsCrm.Converters
{
[SupportedIds("[TEMPLATE-ID")]
public class ReadAccountMembershipStepConverter : ReadEntitiesStepConverter
{
public ReadAccountMembershipStepConverter(IItemModelRepository repository) : base(repository)
{
}
}
}
- Find the following line in the code:
[SupportedIds("[TEMPLATE-ID")]
- Replace
[TEMPLATE-ID]
with the ID for the template from Add Template for Read Members Pipeline Step. - Compile the project.
- Deploy Examples.DynamicsCrm.dll to your Sitecore server.