Passing image rendition as part of CMIS query?

275 views
Skip to first unread message

prasath c

unread,
Nov 21, 2012, 9:16:36 AM11/21/12
to webcen...@googlegroups.com
Hello guys,
            Any idea on how to use rendition on CMIS query from Webcenter Content presenter? We have some images stored in UCM with certain renditions of rendition set. 

Take the following example,

SELECT * FROM ora:t:IDC:GlobalProfile WHERE ora:p:xSiteID = 100

The above query will bring the documents which are matching the metadata field siteId=100. I could see the UCM metadata field called packagedConversions which allowing me to pass the rendition set in query. But what i am not able to specify is, the exact rendition within the rendition set.

E.g We have 3 renditions as part of the BasicRenditions set. (thumbnail, web, preview). So i would like to know how to get or specify this thumbnail as part of the CMIS query?


but my client is interested in creating their own page at runtime in Webcenter portal , dropping the content presenter and specify the CMIS query by themselves.


Regards
Prasath.C


Nelson

unread,
Nov 21, 2012, 10:30:56 AM11/21/12
to Webcenter EMG
Hi Prasath,

I don't know if it's possible make this just with your CMIS query,  because the rendtion isn't a metadata from content.

The metadata packagedConversions just say to Content how many and how are the rendition that must be created to this content.

What I suggest is:

1 - Make the query without the rendition
2 - Now, in Content Presenter, you have the dDocName from you content if rendtion. So you create a content template that show just the redition that you want.

It's possible in your case?




2012/11/21 prasath c <prasa...@gmail.com>
Prasath.C


--
You received this message because you are subscribed to the WebCenter Enterprise Methodology Group (http://groups.google.com/group/webcenter-emg). To unsubscribe send email to webcenter-em...@googlegroups.com
 
All content to the WebCenter EMG lies under the Creative Commons Attribution 3.0 Unported License (http://creativecommons.org/licenses/by/3.0/). Any content sourced must be attributed back to the WebCenter EMG with a link to the Google Group (http://groups.google.com/group/webcenter-emg).



--
Nelson Maia
___________________________
Oracle Webcenter Consultant
(5541) 9915 0897| Skype: nellson.maia
http://about.me/nellson.maia

prasath c

unread,
Nov 21, 2012, 4:59:44 PM11/21/12
to webcen...@googlegroups.com
Hi Nelson,
              Many Thanks for your suggestion. Yes, I think for now we could suggest that way to the client by asking them to use the content presenter templates delivered by us! 

But I wish this could be taken care in the future versions of Webcenter / UCM in some way to support this usecase, because for every item retrieved by CMIS query, we do make an extra GET_FILE service call to the UCM for the rendition which is bad. It really makes the UI not appealing , as each image is being rendered at different time asynchronously by the GET_FILE service call.

Regards
Prasath.C

Leonardo Cruz

unread,
Nov 21, 2012, 11:10:34 AM11/21/12
to webcen...@googlegroups.com
Hi everybody.
Prasath,

My suggestion is:

Create a metadata in specific profile using the rendition list (I don´t know how do it but I think it´s possible).
The user will choose what kind of rendition they want at the specific page.
And you can get this metadata rendition on a template page to set rendition type.


What do you guys think about this solution?

Hope My suggestion was clear...

LCruz.



2012/11/21 Nelson <nellso...@gmail.com>



--
Leonardo Cruz
Fone (11) 9497-3455
Reply all
Reply to author
Forward
0 new messages