[Expand]General Information
[Collapse]WinForms Controls
  .NET Core Support
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications, and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gantt Control
  [Expand]Chart Control
  [Expand]Map Control
    Getting Started
   [Expand]Data Binding
   [Collapse]Import and Export
     Synchronization with Microsoft Outlook
     iCalendar Support
     VCalendar 1.0 Support
     Google Calendars
   [Expand]Time Zones
    Drag-and-Drop Operations
   [Expand]Visual Elements
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Import and Export

Expanded XML Format

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.

All three storage collections provide the LoadFromXml method that allows you to import Scheduler data back from a file or stream.

Expanded Synchronization with Google Calendars

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:

  • resolve synchronization conflicts that occur when the same appointment is edited differently in each calendar;
  • choose which appointments to import/export, and which to skip;
  • correctly transfer data that is supported in one calendar type only (for example, Google event categories do not match default DevExpress appointment labels, and DevExpress appointments have no fields that correspond to Google event gID and etag properties used to identify these events).

Expanded Import and Export from (to) Microsoft Outlook

Data exchange between the DevExpress Scheduler and a Microsoft Outlook calendar is performed using two separate components:

Outlook appointments have unique ID values stored in the EntryID property. In order to work with these IDs, you need to add a dedicated data field in your data source. Whenever a synchronization process tells a Scheduler to create, remove or modify an appointment, the AppointmentSynchronizer.AppointmentSynchronizing event fires, and you can use these IDs to cancel individual edits and resolve potential conflicts.

Expanded VCalendar 1.0 and iCalendar

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.

Is this topic helpful?​​​​​​​