Deleted.
Hope this helps: https://github.com/keensoft/alfresco-datalist-constraints/blob/master/datalist-model-repo/src/main/java/es/keensoft/alfresco/action/webscript/DataListWebScript.java
Hi,
try either two.. Hope you will be able to retrieve the association.
(1)
List<ChildAssociationRef> nodes = nodeService.getChildAssocs(node);List<ChildAssociationRef> testAssociate = new List<ChildAssociationRef>();for (ChildAssociationRef element : nodes) { if ("testAssociate".equalsIgnoreCase(element.getTypeQName().toString())) { testAssociate.add(element); }}
(2)
nodeService.getChildAssocs(parentNodeRef, ContentModel.ASSOC_CONTAINS, RegexQNamePattern.MATCH_ALL);
yes