Using Apache Chemistry, is it possible to specialize the content type of a document? I tried the following:
Map<String, Object> properties = new HashMap<String, Object>()
properties.put(PropertyIds.OBJECT_TYPE_ID, "D:gry:policyType")
properties.put("gry:policyNumber", policyNumber)
document.updateProperties(properties)The existing document is of type D:gry:content and D:gry
olicyType is a subtype. Through Alfresco Share I can use the "Change Type" action but when I try through CMIS it seems to be ignored. Adding aspects or changing other properties works fine.
Thanks,
Neil