Anyone figure out how to create a rendition of a document via CMIS???
It appears the spec (and thus the Chemistry API) only formalized how to retrieve Renditions. If there are any code samples to actually creating a rendition (not the actual content, but saving the associated node in the repository), I would be much obliged.
You cannot create a rendition via CMIS. You can create a rule on a folder that creates the rendition, and then creating the object using CMIS triggers the rule which creates the rendition, but there is no way to do it directly.
I heard we can use Rendition Service supported by CMIS to create a rendition (thumbnail, imgpreview…) on the fly. Please check (http://wiki.alfresco.com/wiki/Rendition_Service) Therefore, I just wonder if I can use this service to create a thumbnail directly on the fly? I am using PHP to create the code. I checked PHP CMIS client library, and there is no method supply this functionality. I just wonder if I can send the objectId by CMIS mechanism, and create the rendition (thumbnail) on the fly, and use something like "getRendition" to get the URL of created thumbnail back? Please give me some guidance and any detail is welcome.