cancel
Showing results for 
Search instead for 
Did you mean: 

Getting renditions over CMIS

mathwizard
Champ in-the-making
Champ in-the-making
Hello,
I am trying to get list of renditions over CMIS. I have created a rule to transform content to PDF. When browsing the repository through Node browser I can see that document uploaded by me has 2 renditions: the one done by me called pdf (thats how I named the rendition definition) and a rendition doclib (thumbnail). However when requesting renditions through CMIS I can see only the cmis:thumbnail one and only when I add the &renditionFilter=cmis:thumbnail. I cannot in any case access the the rendition I have created. Is there some magic I have to do?

Thank you in advance,

Michael

Alfresco 3.4.d

Script used to create the rendition
var def = renditionService.createRenditionDefinition("pdf","reformat");
def.parameters['mime-type'] = "application/pdf";
def.execute(document);
1 REPLY 1

mathwizard
Champ in-the-making
Champ in-the-making
Ok, I have found the answer. The thing is the renditionFilter has to be set like this:
renditionFilter=*
or in OpenCMIS

OperationContext context = s.createOperationContext();
context.setRenditionFilterString("*");