ODS.VirtuosoOdsUbiquityTutorialsResourceBriefcase

Briefcase Manage Resources Ubiquity Tutorial

This tutorial demonstrates how to manage file resources and collections from OpenLink? Demo server Briefcase 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 Briefcase instance for user demo at the Demo server. If not existing, it is enough after log in to go to Briefcase from the left ODS Vertical Main Navigation. This will cause automatically to be created ODS Briefcase 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 mybriefcase

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

    ods-create-briefcase-collection /DAV/home/demo/MyUbiquity

  5. As result will be shown message for successful creation of collection with id 8275.
  6. Now execute the command:

    ods-store-briefcase-resource /DAV/home/demo/MyUbiquity/simple.txt content Hello

  7. As result will be shown message for successful creation of resource with id 111938.
  8. To get the resource content, execute the following command:

    ods-get-briefcase-resource-info-by-path /DAV/home/demo/MyUbiquity/simple.txt

  9. You can also view the resource in the Briefcase UI:
    1. Go to path /DAV/home/demo/MyUbiquity/
    2. As result will be shown its content and the resource we have added from above:
  10. In order to delete the created resource, execute the command:

    ods-delete-briefcase-resource /DAV/home/demo/MyUbiquity/simple.txt

  11. As result will be shown message for successful deletion.
  12. In order to delete the created collection, execute the command:

    ods-delete-briefcase-colleciton /DAV/home/demo/MyUbiquity

  13. As result will be shown message for successful deletion.

CategoryODS CategoryOpenSource CategoryWebSite CategoryBriefcase