Implement an endpoint converter
Version:
You must have a converter in order to convert a Sitecore item that represents a component into an actual component. In this example, a converter converts the settings on an endpoint item into an endpoint settings plugin. You can then add that plugin to the endpoint.
To implement an endpoint converter:
-
In Visual Studio, add the following class:
ImportantYou must change the value of
[ENDPOINT TEMPLATE ID]to match the ID from the endpoint template named Text File Endpoint.NoteBy inheriting from
BaseEndpointConverteryou get access to a number of methods that facilitate reading values from fields on a Sitecore item. -
Compile the project.
-
Deploy
Examples.DataExchange.Providers.FileSystem.dllto the Sitecore server.