how to create custom object type using Java OpenCmis?

cancel
Showing results for 
Search instead for 
Did you mean: 
limp
Member II

how to create custom object type using Java OpenCmis?

Jump to solution

Is it posible to create custom object type in alfreco (community - 5.2.0) using openCmis (version 1.1)?
I tried creating subtype of cmis:document, but it throws CmisNotSupportedException.

I used this method:
org.apache.chemistry.opencmis.commons.definitions.DocumentTypeDefinition dtd = createDocumentTypeDef();
org.apache.chemistry.opencmis.client.api.Session.createType(dtd);

1 Solution

Accepted Solutions
afaust
Master

Re: how to create custom object type using Java OpenCmis?

Jump to solution

As the error indicates, Alfresco does not support dynamically creating new types via the CMIS API.

View solution in original post

1 Reply
afaust
Master

Re: how to create custom object type using Java OpenCmis?

Jump to solution

As the error indicates, Alfresco does not support dynamically creating new types via the CMIS API.