how to create custom object type using Java OpenCmis?

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
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
Highlighted
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
Highlighted
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