<docbook><section><title>VirtuosoOdsUbiquityTutorialsResourceBriefcase</title><bridgehead class="http://www.w3.org/1999/xhtml:h3">Briefcase Manage Resources Ubiquity Tutorial</bridgehead>
<para>This tutorial demonstrates how to manage file resources and collections from <ulink url="OpenLink">OpenLink</ulink> <ulink url="http://demo.openlinksw.com/ods">Demo server</ulink> Briefcase instance for user demo.</para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">Ubiquity Commands Subscription</bridgehead>
<para>If not already subscribed, perform the following steps:</para>
<orderedlist spacing="compact"><listitem>Go to <ulink url="http://demo.openlinksw.com/ods/ods_ubiquity.html">http://demo.openlinksw.com/ods/ods_ubiquity.html</ulink> </listitem>
<listitem>Click the button &quot;Subscribe&quot; </listitem>
<listitem>Click the button &quot;I know what I&#39;m doing.
 Subscribe to it&quot;.
</listitem>
<listitem>As result should be shown message for &quot;Subscription Successful&quot; and we are ready to perform the steps from the tutorial.</listitem>
</orderedlist><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">Initial conditions</bridgehead>
<para>In order to be executed correctly the steps below, there should be ODS Briefcase instance for user demo at the <ulink url="http://demo.openlinksw.com/ods">Demo server</ulink>.
 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.</para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">Basic Tutorial Steps</bridgehead>
<orderedlist spacing="compact"><listitem>Authenticate using ODS command mode: <orderedlist spacing="compact"><listitem> <emphasis>sid</emphasis>: <orderedlist spacing="compact"><listitem>Execute the command: <programlisting>ods-host http://demo.openlinksw.com/ods
</programlisting><itemizedlist mark="bullet" spacing="compact"><listitem><figure><graphic fileref="VirtuosoOdsUbiquityTutorialsResourceBriefcase/u1.png" /></figure> </listitem>
</itemizedlist></listitem>
<listitem>Execute the command: <programlisting>ods-set-mode sid
</programlisting><itemizedlist mark="bullet" spacing="compact"><listitem><figure><graphic fileref="VirtuosoOdsUbiquityTutorialsResourceBriefcase/u2.png" /></figure> </listitem>
</itemizedlist></listitem>
<listitem>Execute the command: <programlisting>ods-authenticate-user demo password demo
</programlisting><itemizedlist mark="bullet" spacing="compact"><listitem><figure><graphic fileref="VirtuosoOdsUbiquityTutorialsResourceBriefcase/u3.png" /></figure> </listitem>
</itemizedlist></listitem>
</orderedlist></listitem>
<listitem> <emphasis>oauth</emphasis>: detailed description you can find <ulink url="VirtuosoOdsUbiquityTutorialsBriefcaseOAuthD">here</ulink>.
</listitem>
</orderedlist></listitem>
<listitem>Execute the command: <programlisting>ods-get-instance-id mybriefcase
</programlisting><itemizedlist mark="bullet" spacing="compact"><listitem><figure><graphic fileref="VirtuosoOdsUbiquityTutorialsResourceBriefcase/bf1.png" /></figure> </listitem>
</itemizedlist></listitem>
<listitem>As result will be shown the instance id.
 For the &quot;mybriefcase&quot; instance this should be 9.
</listitem>
<listitem>Execute the command: <programlisting>ods-create-briefcase-collection /DAV/home/demo/MyUbiquity
</programlisting><itemizedlist mark="bullet" spacing="compact"><listitem><figure><graphic fileref="VirtuosoOdsUbiquityTutorialsResourceBriefcase/bf2.png" /></figure> </listitem>
</itemizedlist></listitem>
<listitem>As result will be shown message for successful creation of collection with id 8275.
</listitem>
<listitem>Now execute the command: <programlisting>ods-store-briefcase-resource /DAV/home/demo/MyUbiquity/simple.txt content Hello
</programlisting><itemizedlist mark="bullet" spacing="compact"><listitem><figure><graphic fileref="VirtuosoOdsUbiquityTutorialsResourceBriefcase/bf3.png" /></figure> </listitem>
</itemizedlist></listitem>
<listitem>As result will be shown message for successful creation of resource with id 111938.
</listitem>
<listitem>To get the resource content, execute the following command: <programlisting> ods-get-briefcase-resource-info-by-path /DAV/home/demo/MyUbiquity/simple.txt
</programlisting><itemizedlist mark="bullet" spacing="compact"><listitem><figure><graphic fileref="VirtuosoOdsUbiquityTutorialsResourceBriefcase/bf4.png" /></figure> </listitem>
</itemizedlist></listitem>
<listitem>You can also view the resource in the Briefcase UI: <orderedlist spacing="compact"><listitem>Go to path /DAV/home/demo/MyUbiquity/ </listitem>
<listitem>As result will be shown its content and the resource we have added from above: <itemizedlist mark="bullet" spacing="compact"><listitem><figure><graphic fileref="VirtuosoOdsUbiquityTutorialsResourceBriefcase/bf5.png" /></figure> </listitem>
</itemizedlist></listitem>
</orderedlist></listitem>
<listitem>In order to delete the created resource, execute the command: <programlisting>ods-delete-briefcase-resource /DAV/home/demo/MyUbiquity/simple.txt
</programlisting><itemizedlist mark="bullet" spacing="compact"><listitem><figure><graphic fileref="VirtuosoOdsUbiquityTutorialsResourceBriefcase/bf6.png" /></figure> </listitem>
</itemizedlist></listitem>
<listitem>As result will be shown message for successful deletion.
</listitem>
<listitem>In order to delete the created collection, execute the command: <programlisting>ods-delete-briefcase-colleciton /DAV/home/demo/MyUbiquity
</programlisting><itemizedlist mark="bullet" spacing="compact"><listitem><figure><graphic fileref="VirtuosoOdsUbiquityTutorialsResourceBriefcase/bf7.png" /></figure> </listitem>
</itemizedlist></listitem>
<listitem>As result will be shown message for successful deletion.</listitem>
</orderedlist><para><ulink url="CategoryODS">CategoryODS</ulink> <ulink url="CategoryOpenSource">CategoryOpenSource</ulink> <ulink url="CategoryWebSite">CategoryWebSite</ulink> <ulink url="CategoryBriefcase">CategoryBriefcase</ulink> </para>
</section></docbook>