11-26-2019 01:49 PM
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:gryolicyType 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
11-27-2019 06:03 AM
Can you create (not specialize) your custom content type from CMIS?
Explore our Alfresco products with the links below. Use labels to filter content by product module.