2. AGENDA
• Introduction
• Installation of Data Exchange Framework Package and Sitecore Provider Package
• Creating a Custom Provider (Excel Provider for DEF)
• Configuration and Demo
3. OVERVIEW
• A framework used to transfer data between two systems
• The system from which data is been read is called source system
• And system to which data is written is called target system
• A provider helps us interact with the different systems like Sitecore, File systems, Excel
etc
5. DEFINE THE REQUIREMENT
• Specify the attributes of the file that will be read.
• Ex: If there are any column separator’s etc
• First line is a header
• Worksheet number from which the data is been read
6. CREATE VISUAL STUDIO PROJECT
Add references to the following assemblies:
•Sitecore.DataExchange
•Sitecore.DataExchange.DataAccess
•Sitecore.Services.Core
•Microsoft Excel 16.0 Object Library
8. ADD TEMPLATE FOLDER FOR
PROVIDER
• In Sitecore, Open Template Manager
• Navigate to Templates > Data Exchange > Providers
• Add the Template Folder Named Excel Provider
9. ADD ENDPOINT TEMPLATE
• Under Excel Provider folder add a new folder called Endpoints
• Add the following template
• Set the Icon for this template to Office/32x32/cloud.png
• Add the required Fields
• Implement Endpoint Settings Plugin and Endpoint Extensions
• Implement Endpoint Converter
• Set Standard values on Endpoint Template
10. ABILITY TO ADD ENDPOINTS TO
TENANT
• Add template for endpoint items folder and set icon Office/32x32/folder_open.png
• Add Insert option for adding endpoint item to folder
• Add command template for endpoints item folder
• Add Insert option for command template
11. IMPLEMENT PIPELINE STEP
• Under Excel Provider add a new folder called Pipeline Steps
• Add the following template and set icon office/32x32/element.png
• Add field EndpointFrom and Type as Droptree
• Implement pipeline step converter
• Implement pipeling step processor
• Set Standard values on Pipeline Step
• Add ability to add pipeline steps to pipeline
12. IMPLEMENT DATA ACCESS
COMPONENTS
• Under Excel Provider folder add a new folder called Data Access
• Add the following template and set the Icon office/32x32/radio_button_selected.png
• Add following field Position type Integer
• Implement Value Accessor Converter
• Set Standard Values on Value Accessor Template
13. • Add Value Accessor Set Template and set Icon Office/32x32/radio_button_group.png
• Set Standard Values on Value Accessor Set template
14. ADD ABILITY TO ADD VALUE ACCESSORS
TO TENANT
• Add the following template and set the icon Office/32x32/folder_open.png
• Add insert option for adding value accessor set items to folder
• Add command template for value accessor set items folder
• Add insert option for command template
15. USE THE PROVIDER
• Add the Tenant
• Add Endpoints
• Create template and folder to hold sitecore items for Target
• Add Value Accessor Set for Source & Destination
• Add Value Mapping Set
• Pipeline to sync single row
• Pipe line to Read the Source
• Add Pipeline Batch