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.
<aspect name="tag:taggable"> <title>Taggable</title> <properties> <property name="tag:tags"> <title>Tags</title> <type>d:text</type> <multiple>true</multiple> </property> </properties> </aspect>
// A name space resolver is required - this could be the name space service DynamicNamespacePrefixResolver namespacePrefixResolver = new DynamicNamespacePrefixResolver(null); namespacePrefixResolver.addDynamicNamespace(NamespaceService.ALFRESCO_PREFIX, NamespaceService.ALFRESCO_URI); namespacePrefixResolver.addDynamicNamespace(NamespaceService.ALFRESCO_TEST_PREFIX, NamespaceService.ALFRESCO_TEST_URI); // Select all nodes below the context node List<ChildAssocRef> answer = searchService.selectNodes(rootNodeRef, "*", null, namespacePrefixResolver, false); // Find all the property values for @alftest:animal List<Serializable> attributes = searchService.selectProperties(rootNodeRef, "//@alftest:animal", null, namespacePrefixResolver, false);