ODS.VirtuosoOdsUbiquityTutorialsSubscrBookmark

Bookmarks Subscription Ubiquity Tutorial

This tutorial demonstrates how to subscribe to MyOpenlink server Bookmarks for user demo from OpenLink? Demo server Bookmark 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 Bookmark instance for user demo at the Demo server and there should be ODS Bookmark instance for user demo at the MyOpenlink server. If not existing, it is enough after log in to go to Bookmarks from the left ODS Vertical Main Navigation. This will cause automatically to be created ODS Bookmark instance.

Prepare the file to which the subscription will refer

Note: If there is already such file, you can skip the steps in this section and continue with the Basic Tutorial Steps section

  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 mybookmarks

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

    ods-create-bookmarks-publication 7 name MyBookmarks destinationType WebDAV destination /DAV/home/demo/mb.xml userName demo userPassword demo

    • Note that you can also set destination Type to URL and destination to http://myopenlink.net:8890/DAV/home/demo/mb.xml for ex. In this case, several steps below when the user tries to subscribe for the Bookmarks in mb.xml file, need to set as sourceType WebDAV? and the source value should be then /DAV/home/demo/mb.xml
  5. As result the publication will be created and will be shown its id (for ex. 11).
  6. To synchronize you can use ubiquity command or the Bookmarks UI:
    1. Using the ubiquity sync command:
      1. Execute the command:

        ods-sync-bookmarks-publication 11

      2. As result should be shown message for Success.
    2. Using the Bookmarks UI:
      1. Go to http://demo.openlinksw.com/ods
      2. Log in as demo password demo
      3. Go to Bookmarks
      4. Go to Preferences->Publications
      5. Click the button "Sync" for "MyBookmarks" publication.
      6. As result a synchronization will be performed.
  7. Go to Briefcase
  8. As result in the list will be shown the mb.xml file which contains user demo's Bookmarks from its Demo server Bookmark instance.

Basic Tutorial Steps

  1. 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.
  2. Execute the command:

    ods-get-instance-id demo's Bookmarks

  3. As result will be shown the instance id. For the "demo's Bookmarks" instance this should be 519.
  4. Execute the command:

    ods-import-bookmarks 519 source /DAV/home/demo/mb.xml sourceType WebDAV or execute: ods-create-bookmarks-subscription 519 name MyNewBookmarks sourceType URL source http://myopenlink.net:8890/DAV/home/demo/mb.xml userName demo userPassword demo

  5. As result should be shown message for Success and subscription id for ex.4.
  6. Now let's perform synchronization of this subscription in the Bookmarks instance for user demo at the MyOpenlink server. To synchronize you can use ubiquity command or the Bookmarks UI:
    1. Using the ubiquity sync command:
      1. Execute the command:

        ods-sync-bookmarks-subscription 4

      2. As result should be shown message for Success.
    2. Using the Bookmarks UI:
      1. Go to http://myopenlink.net:8890/ods
      2. Log in as demo with password demo
      3. Go to Bookmarks
      4. Go to Preferences->Subscriptions
      5. Click the "Sync" button for the "MyNewBookmarks" subscription
      6. As result the synchronization will be performed and for the subscription will be shown status "Ok":
  7. Go to Bookmarks Home page.
  8. As result in the 1st pane under Tree->Bookmarks will be shown the imported from the subscription Bookmarks.

CategoryODS CategoryOpenSource CategoryWebSite CategoryOdsBookmark? CategoryBookmark