ODS.VirtuosoOdsUbiquityTutorialsPublCalendar

Calendar Publication Ubiquity Tutorial

This tutorial demonstrates how to make publication from OpenLink? Demo server Calendar instance for user demo and import the data to MyOpenlink server Calendar instance for user demo.

Ubiquity Commands Subscription

If not already subscribed, perform the following steps:

  1. Go to http://demo.openlinksw.com/ods/ods_ubiquity.html
  2. Click the button "Subscribe"
  3. Click the button "I know what I'm doing. Subscribe to it".
  4. As result should be shown message for "Subscription Successful" and we are ready to perform the steps from the tutorial.

Initial conditions

In order to be executed correctly the steps below, there should be ODS Calendar instance for user demo at the Demo server and there should be ODS Calendar instance for user demo at the MyOpenlink server. If not existing, it is enough after log in to go to Calendar from the left ODS Vertical Main Navigation. This will cause automatically to be created ODS Calendar instance.

Basic Tutorial Steps

  1. Authenticate using ODS command mode:
    1. sid:
      1. Execute the command:

        ods-host http://demo.openlinksw.com/ods

      2. Execute the command:

        ods-set-mode sid

      3. Execute the command:

        ods-authenticate-user demo with demo

    2. oauth: detailed description you can find here.
  2. Execute the command:

    ods-get-instance-id mycalendar

  3. As result will be shown the instance id. For the "mycalendar" instance this should be 59.
  4. Execute the command:

    ods-create-calendar-publication 59 name MyCalendar destinationType Url destination http://myopenlink.net:8890/DAV/home/demo/mycalendar.ics userName demo userPassword demo

    • Note that you can also set destination Type to WebDAV? and destination to /DAV/home/demo/mycalendar.ics for ex. In this case, several steps below when the user tries to import the data from the mycalendar.ics file, need to set as sourceType URL and the source value should be then http://demo.openlinksw.com/DAV/home/demo/mycalendar.ics
  5. As result the publication will be created and will be shown its id (for ex. 10).
  6. To synchronize you can use ubiquity command or the Calendar UI:
    1. Using the ubiquity sync command:
      1. Execute the command:

        ods-sync-calendar-publication 10

      2. As result should be shown message for Success.
    2. Using the Calendar UI:
      1. Go to http://demo.openlinksw.com/ods
      2. Log in as demo password demo
      3. Go to Calendar
      4. Go to Import/Export->Manage Publications
      5. Click the button "Sync" for "MyCalendar" publication.
      6. As result a synchronization will be performed.
  7. Now let's import the calendar to MyOpenlink ODS Calendar instance.
  8. Authenticate using ODS command mode:
    1. sid:
      1. Execute the command:

        ods-host http://myopenlink.net:8890/ods

      2. Execute the command:

        ods-set-mode sid

      3. Execute the command:

        ods-authenticate-user demo with demo

    2. oauth: detailed description you can find here.
  9. Execute the command:

    ods-get-instance-id demo's Calendar

  10. As result will be shown the instance id. For the "demo's Calendar" instance this should be 522.
  11. Execute the command:

    ods-import-calendar 522 source /DAV/home/demo/mycalendar.ics sourceType WebDAV

  12. As result should be shown message for Success. Let's check the Calendar instance for user demo at the MyOpenlink server .
  13. Go to http://myopenlink.net:8890/ods
  14. Log in as demo with password demo
  15. Go to Calendar
  16. As result in Events / Tasks tabs will be shown the imported Calendar objects:

CategoryODS CategoryOpenSource CategoryWebSite CategoryOdsCalendar CategoryCalendar