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: https://chemistry.apache.org/java/examples/example-create-type.html ) 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(AbstractAtomPubService.java:501) at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.post(AbstractAtomPubService.java:717) at org.apache.chemistry.opencmis.client.bindings.spi.atompub.RepositoryServiceImpl.createType(RepositoryServiceImpl.java:252) at org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.createType(RepositoryServiceImpl.java:199) at org.apache.chemistry.opencmis.client.runtime.SessionImpl.createType(SessionImpl.java:957)
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-ga . In 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!
Alfresco CMIS does not support type creation.
You should use the internal tool...
https://docs.alfresco.com/community/tasks/admintools-custom-type-create.html
... or the XML based approach implementation
https://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.