I would like to use a custom cmis type, but i have a little problem.I'm developing a solutions which uses the CMIS Web Service API and i'm using Alfresco Community Edition 3.2r.The predefined types works very well, but now i would like to define my own custom types with their own custom properties.I have found the 'cmisTextModel.xml' file where such custom types are defined and can be defined. I would like to use a custom folder like it is defined in the following xml example. <type name="cmiscustom:folder">
<title>Custom Folder</title>
<parent>cm:folder</parent>
<properties>
<property name="cmiscustom:folderprop_string">
<title>Custom Folder Property (string)</title>
<type>d:text</type>
</property>
</properties>
</type>
Via the repositoryservice i tryied to get information about my custom type. cmisTypeDefinitionType typeDef = repServ.getTypeDefinition(this.RepositoryID, "cmiscustom:folder", null);
When i try to get information via a web service about this type i get the following exception:Exceptionorg.alfresco.error.AlfrescoRuntimeException: 00260076 Malformed type id 'cmiscustom:folder'
I am wondering about it, because with the predefined types this method works very well.Has anybody expierience with custom types and cmis??Best regardsbedhead