• Topic
  • Discussion
  • ODS.OdsAddressbookSyncML(Last) -- DAVWikiAdmin? , 2017-06-29 07:30:38 Edit WebDAV System Administrator 2017-06-29 03:30:38

    Using SyncML? with ODS-AddressBook?

    ODS-AddressBook? now supports synchronization to DAV SyncML folder and back.

    Prerequisites

    Make sure the following packages are installed:

    1. ods_framework_dav.vad;
    2. ods_addressbook_dav.vad;
    3. syncml_dav.vad.

    Sample Scenario

    1. Go to http://<host>:<port>/ods
    2. Enter ODS user credentials.
    3. Click the Briefcase link in the left navigation bar.
    4. Your DAV/home/<ods-user> folder will be displayed:



    5. Click New Folder.



    6. Create a regular folder; for this example, named mysync



    7. Go to the new mysync folder:



    8. Click again New Folder.
    9. Name this folder contacts, and specify the Folder type as [[http://virtuoso.openlinksw.com/wiki/main/Main/SyncML]



    10. Go to the new displayed "SyncML?" tab:



    11. Specify the SyncML? version and type, for ex.: 1.1 and vcard 1.1, respectively.



    12. Click "Create".
    13. The created folder should be displayed in the list of available resources for the mysync folder:



    14. Click AddressBook? in the left navigation bar.
    15. Your ODS-AddressBook? instance will be loaded, and automatically created if you don't have one yet:



      • In case of new created ODS-AddressBook? instance, create several contacts.
    16. Go to Preferences --> SyncML?



    17. Click New SyncML?



    18. 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



    19. Click Create.



    20. Click Sync.



    21. Specify the direction of synchronization, and click the Sync button.
    22. 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):



    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

    CategoryODS CategoryOpenSource CategoryAddressBook CategoryOdsAddressBook