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.
CmisObject object = … List<CmisExtensionElement> extensions = object.getExtensions(ExtensionLevel.PROPERTIES); if(extensions != null && !extensions.isEmpty()) { List<CmisExtensionElement> alfrescoExtensions = extensions.get(0).getChildren(); // applied aspects for(CmisExtensionElement extension: alfrescoExtensions) { if(extension.getName().equals("appliedAspects")) { String aspect = extension.getValue().substring(2); System.out.println(aspect); } } // aspect properties for(CmisExtensionElement extension: alfrescoExtensions) { if(extension.getName().equals("properties")) { for(CmisExtensionElement property: extension.getChildren()) { String id = property.getAttributes().get("propertyDefinitionId"); List<String> values = new ArrayList(); for(CmisExtensionElement propertyValues: property.getChildren()) { values.add(propertyValues.getValue()); } System.out.println(id + " = " + values); } } } }