cancel
Showing results for 
Search instead for 
Did you mean: 

how to create custom object type using Java OpenCmis?

limp
Champ in-the-making
Champ in-the-making

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 ACCEPTED ANSWER

afaust
Legendary Innovator
Legendary Innovator

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

View answer in original post

1 REPLY 1

afaust
Legendary Innovator
Legendary Innovator

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