cancel
Showing results for 
Search instead for 
Did you mean: 

Adding a rendition to a document via CMIS?

gregbpopstar
Champ on-the-rise
Champ on-the-rise
Hi,

I am using Alfresco as a digital asset manager and have written custom transform / rendition code to generate thumbnails and previews in the past.  What I want to do now, however, is give the option of uploading a custom thumbnail for an asset.  When this is done, I would like that thumbnail to be shown in the Alfresco Share UI as the thumbnail for the asset.  I am using OpenCMIS and want to upload this user supplied thumbnail via CMIS.  Is this possible via CMIS or by a CMIS extension?  If so please give some detail.  If not please give some recommendations.

Thanks
2 REPLIES 2

fmui
Champ in-the-making
Champ in-the-making
It is not possible to upload custom renditions. The CMIS specification doesn't support that.
It would be also difficult to manage since renditions are automatically deleted when the original content is updated.

The only solution I can think of is to create another document (the thumbnail) and add a behavior that make this document the thumbnail of the original content.

gregbpopstar
Champ on-the-rise
Champ on-the-rise
Thanks fmui.  That's the conclusion I came to also.