Dear all,
I try to create a folder with custom type.
Map<String, String> properties = new HashMap<String, String>();
properties.put(PropertyIds.OBJECT_TYPE_ID, "D:ip:akte");
properties.put(PropertyIds.NAME, name);
properties.put("ip:participants", participants);
properties.put("ip:owners", owners);
Folder root = session.getRootFolder();
Folder folder = root.createFolder(properties, null, null, null,
session.getDefaultContext());
I get this error:
Exception in thread "main"
org.apache.chemistry.opencmis.commons.exceptions.CmisObjectNotFoundException:
Type 'D:ip:akte' is unknown!
but using the alfresco node browser i get:
Search *Search Language:*solr-cmis *Search:*SELECT * FROM ip:akte
Results (0 rows) NameNodeParent
Time ms: 1562
any suggestions or is it a repository specific bug?
using v0.8
thanks
Sebastian