---+++Briefcase Manage Resources Ubiquity Tutorial
This tutorial demonstrates how to manage file resources and collections from OpenLink [[http://demo.openlinksw.com/ods][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 [[http://demo.openlinksw.com/ods][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
*
1. Execute the command:
ods-set-mode sid
*
1. Execute the command:
ods-authenticate-user demo with demo
*
1. *oauth*: detailed description you can find [[VirtuosoOdsUbiquityTutorialsBriefcaseOAuthD][here]].
1. Execute the command:
ods-get-instance-id mybriefcase
*
1. As result will be shown the instance id. For the "mybriefcase" instance this should be 9.
1. Execute the command:
ods-create-briefcase-collection /DAV/home/demo/MyUbiquity
*
1. As result will be shown message for successful creation of collection with id 8275.
1. Now execute the command:
ods-store-briefcase-resource /DAV/home/demo/MyUbiquity/simple.txt content Hello
*
1. As result will be shown message for successful creation of resource with id 111938.
1. To get the resource content, execute the following command:
ods-get-briefcase-resource-info-by-path /DAV/home/demo/MyUbiquity/simple.txt
*
1. You can also view the resource in the Briefcase UI:
1. Go to path /DAV/home/demo/MyUbiquity/
1. As result will be shown its content and the resource we have added from above:
*
1. In order to delete the created resource, execute the command:
ods-delete-briefcase-resource /DAV/home/demo/MyUbiquity/simple.txt
*
1. As result will be shown message for successful deletion.
1. In order to delete the created collection, execute the command:
ods-delete-briefcase-colleciton /DAV/home/demo/MyUbiquity
*
1. As result will be shown message for successful deletion.
CategoryODS CategoryOpenSource CategoryWebSite CategoryBriefcase