openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From J├╝rgen Schmidt <jogischm...@gmail.com>
Subject Re: CMIS UCP
Date Fri, 31 May 2013 14:51:14 GMT
On 5/31/13 4:01 PM, Rajath Shashidhara wrote:
> Hello,
> 
> I have built the basic CMIS UCP code that Ariel had sent me. Created a
> .oxt. Installed it.
> 
> I uploaded a .odt file to my inmemory repository(no authentication
> required).
> I tried this URL in the open dialog:
> cmis://<in-memory-repositoty-address>/<path-of-uploaded-object>
> 
> It says non-existant object.

I still haven't had the time to look in Ariel's code. You have uploaded
a odt into you inmemory repo via some other client code. You are able to
retrieve this document via your Chemistry client and can open it in
OpenOffice?

Now you try to load this document via the Ariels code snippet, correct?

I will try to take a look into the code asap... Maybe Ariel can say what
is already there or not.

The UCB will call the UCP with a command + some properties and the Url.
internally you have to analyze the Url and have to map it on the
appropriate Chemistry calls. But it io more tricky because you will see
more than one call in the UCP, asking for some properties first, etc.

I recommend to read the UCB chapter in the DevGuide to get some idea of
it works in general

http://wiki.openoffice.org/wiki/Documentation/DevGuide/UCB/Universal_Content_Broker

http://wiki.openoffice.org/wiki/Documentation/DevGuide/AppendixC/Universal_Content_Providers

Juergen

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Mime
View raw message