%META:TOPICPARENT{name="OdsCalendar"}%
---+Using SyncML with ODS-Calendar
ODS-Calendar now supports synchronization to DAV [[http://virtuoso.openlinksw.com/wiki/main/Main/SyncML][SyncML]] folder and back.
---++Prerequisites
Make sure the following packages are installed:
1. [[https://virtuoso.openlinksw.com/download/][ods_framework_dav.vad]]
1. [[https://virtuoso.openlinksw.com/download/][ods_calendar_dav.vad]]
1. [[https://virtuoso.openlinksw.com/download/][syncml_dav.vad]]
---++Sample Scenario
1. Go to http://<host>:<port>/ods
1. Log in.
1. Click the Briefcase link in the left navigation bar.
1. Your DAV/home/<ods-user> folder will be displayed:
%BR%%BR%
%BR%%BR%
1. Click New Folder.
%BR%%BR%
%BR%%BR%
1. Create a regular folder; for this example, named mysync
:
%BR%%BR%
%BR%%BR%
1. Go to the new mysync folder:
%BR%%BR%
%BR%%BR%
1. Click again New Folder.
1. Name this folder calendar
, and specify the Folder type as [[http://virtuoso.openlinksw.com/wiki/main/Main/SyncML][SyncML]] folder:
%BR%%BR%
%BR%%BR%
1 Go to the new displayed "SyncML" tab:
%BR%%BR%
%BR%%BR%
1 Specify the SyncML version and type, for ex.:1.1
and vcalendar 11
, respectively.
%BR%%BR%
%BR%%BR%
1 Click "Create".
1 The created folder should be displayed in the list of available resources for the mysync folder:
%BR%%BR%
%BR%%BR%
1. Click Calendar in the left navigation bar.
1. Your ODS-Calendar instance will be loaded, and automatically created if you don't have one yet:
%BR%%BR%
%BR%%BR%
* In case of new created ODS-Calendar instance, create several events and/or tasks.
1. Go to Import/Export:
%BR%%BR%
%BR%%BR%
1 Select Manage SyncML:
%BR%%BR%
%BR%%BR%
1. Click New SyncML:
%BR%%BR%
%BR%%BR%
1. In the presented form:
* Name the SyncML job; e.g., test
;
* Enter the WebDAV SyncML Path to the folder you created above; e.g., /DAV/home/<ods-user>/mysync/calendar
;
* Enter your ODS username and password;
* Select whether to sync events, tasks, or both;
%BR%%BR%
%BR%%BR%
1. Click Create.
%BR%%BR%
%BR%%BR%
10. Click Sync.
11. Specify the direction of synchronization, and click the Sync button.
%BR%%BR%
%BR%%BR%
12. A message will show how many events and tasks were synced to the Calendar instance (In), and how many were synced to the DAV location (Out):
%BR%%BR%
%BR%%BR%
---++ Synchronization in Background
Suppose you have synced your tasks and events from the Calendar instance to the DAV location as described above. When there is a change on some of the fields for a current event or task in your Calendar, the Save action will trigger a re-sync to the DAV location.
---++ Related
* [[http://docs.openlinksw.com/virtuoso/syncml.html][Virtuoso SyncML documentation]]
* [[VirtSyncMLAndroidToVirtuoso][How to sync my Android contacts to Virtuoso using SyncML]]
* [[OdsAddressbookSyncML][Using SyncML with ODS-AddressBook]]
CategoryODS CategoryOpenSource CategoryCalendar