Hi, I'm trying to use the Alfresco OpenCMIS Extension to add a tag to an existing document. I tried the below code, but received an error when it called updateProperties(). I'm seriously confused. Can someone give me a pointer?String path1 = "/Sites/IQ/documentLibrary/test";
CmisObject object = s.getObjectByPath(path1);
AlfrescoDocument alfDoc = (AlfrescoDocument) object;
…..
if(alfDoc.hasAspect("P:cm:titled")) {
Map<String, Object> properties = new HashMap<String, Object>();
properties.put("cm:taggable", "MyTag");
alfDoc.updateProperties(properties);
}
regards,Paul