Create new type through CMIS

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

Create new type through CMIS

Hey folks,

Forgive me if this is a newbie question as i am quite new to the ECM field. Namely, last few weeks i have been researching and planning on how to use CMIS and Alfresco to create repository layer with custom front-end solution (this is why i can't use Share directly for this purpose). Everything looked great until i tried creating custom object type and it's properties through CMIS (following this guide: ) where i encountered the following error:

Connected to repository.  Supports CMIS version:1.1
org.apache.chemistry.opencmis.commons.exceptions.CmisNotSupportedException: Not supported!
	at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(
	at org.apache.chemistry.opencmis.client.bindings.spi.atompub.RepositoryServiceImpl.createType(
	at org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.createType(
	at org.apache.chemistry.opencmis.client.runtime.SessionImpl.createType(

I was using CMIS 1.1 browser binding. Alfresco repository is running in docker with following image: alfresco/alfresco-content-repository-community:6.1.2-gaIn repository info i did see that set of createable property types is empty.

So i wanted to ask if this is not possible to be done at all through CMIS, and if not, does anyone have any advice on how to achieve this through some other means, as not having custom types and appropriate properties leaves the system pretty empty without any custom metadata.

Thank you very much for taking the time to read this!

1 Reply
Alfresco Employee

Re: Create new type through CMIS

Alfresco CMIS does not support type creation.

You should use the internal tool...

... or the XML based approach implementation

Hyland Developer Evangelist