windowsforms-117342-controls-and-libraries-scheduler-import-and-export.md
The fastest way to export Scheduler data is to save it in XML format to a file or stream. To do that, choose the sub-storage whose data you want to export, and call the SaveToXml method.
schedulerStorage.Appointments.SaveToXml(Application.StartupPath + "\\Data\\Appointments.xml");
schedulerStorage.Resources.SaveToXml(Application.StartupPath + "\\Data\\Appointments.xml");
schedulerStorage.AppointmentDependencies.SaveToXml(Application.StartupPath + "\\Data\\Appointments.xml");
schedulerStorage.Appointments.SaveToXml(Application.StartupPath & "\Data\Appointments.xml")
schedulerStorage.Resources.SaveToXml(Application.StartupPath & "\Data\Appointments.xml")
schedulerStorage.AppointmentDependencies.SaveToXml(Application.StartupPath & "\Data\Appointments.xml")
All three storage collections provide the LoadFromXml method that allows you to import Scheduler data back from a file or stream.
The Google Calendars article explains how to set up the synchronization between a DevExpress WinForms Scheduler and a Google Calendar. Unlike direct data import or export, the synchronization process compares data in both calendars when triggered. This allows you to:
DevExpress Scheduler supports direct data import (export) from (to) VCalendars and iCalendars. No advanced synchronization mechanism that detects potential conflicts and data duplication is available.
This demo application synchronizes user appointments with the Microsoft Exchange Web Service (EWS) using Exchange Online (bi-directionally). The application itself exports appointments from the DevExpress WinForms Scheduler control to EWS and imports EWS events to the DevExpress WinForms Scheduler control.