AnsweredAssumed Answered

CMIS: create an object that is subtype of sys:base

Question asked by avyaznikov on Jun 11, 2013
Latest reply on Jun 13, 2013 by avyaznikov
Hello.
Is there a way to create an object that is subtype of sys:base using CMIS?

For example, I want to create an cm:rating object. This is object is not subtype of cm:content or cm:folder.
I think that it is not possible now.
I have tried to retrieve type definition using OpenCMIS (and alfresco open cmis extension) like this

session.getTypeDefinition("cm:rating")
session.getTypeDefinition("D:cm:rating")
session.getTypeDefinition("F:cm:rating")
session.getTypeDefinition("P:cm:rating")

CmisInvalidArgumentException is thrown in any case.

And this is expected: cm:rating is neither a folder or file.

Outcomes