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
Can you create (not specialize) your custom content type from CMIS?
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.