As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Unexpected document! Received: something unknown
parameters.put(SessionParameter.OBJECT_FACTORY_CLASS, "org.alfresco.cmis.client.impl.AlfrescoObjectFactoryImpl"); parameters.put("org.apache.chemistry.opencmis.binding.atompub.url", "http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom"); … Map properties = new HashMap(); properties.put("cmis:name", name); properties.put("cmis:objectTypeId", "D:custom:customType, P:custom:customAspect"); properties.put("custom:customProperty", "custom property value");
def properties = new HashMap<String,String>() properties[PropertyIds.NAME] = 'Test.pdf' properties[PropertyIds.OBJECT_TYPE_ID] = 'cmis:document' properties[PropertyIds.SECONDARY_OBJECT_TYPE_IDS] = ['P:cm:titled'] properties['cm:title'] = 'My CMIS 1.1 test with aspects'