%META:TOPICPARENT{name="OdsAddressbook"}% ---+Using SyncML with ODS-AddressBook ODS-AddressBook 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_addressbook_dav.vad]] 1. [[https://virtuoso.openlinksw.com/download/][syncml_dav.vad]] ---++Sample Scenario 1. Go to http://<host>:<port>/ods 1. Enter ODS user credentials. 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 contacts, and specify the Folder type as [[http://virtuoso.openlinksw.com/wiki/main/Main/SyncML] %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 vcard 1.1, 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 AddressBook in the left navigation bar. 1. Your ODS-AddressBook instance will be loaded, and automatically created if you don't have one yet: %BR%%BR%%BR%%BR% * In case of new created ODS-AddressBook instance, create several contacts. 6. Go to Preferences --> SyncML %BR%%BR%%BR%%BR% 7. Click New SyncML %BR%%BR%%BR%%BR% 8. In the form: * Name the SyncML job; e.g., test * Enter the WebDAV SyncML Path; e.g., /DAV/home/[ods-user]/mysync/contacts * Enter your ODS username and password %BR%%BR%%BR%%BR% 9. Click Create. %BR%%BR%%BR%%BR% 10. Click Sync. %BR%%BR%%BR%%BR% 11. Specify the direction of synchronization, and click the Sync button. 12. A message will show how many contacts were synced to the ODS-AddressBook instance (In), and how many were synced to the DAV location (Out): %BR%%BR%%BR%%BR% ---++ Synchronization in Background Suppose you have synced your contacts from the ODS-AddressBook instance to the DAV location as described above. When there is a change on some of the fields for a current contact in your ODS-AddressBook, 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]] * [[OdsCalendarSyncML][Using SyncML with ODS-Calendar]] CategoryODS CategoryOpenSource CategoryAddressBook CategoryOdsAddressBook