AnsweredAssumed Answered

Access custom association value

Question asked by farzad on May 3, 2006
Latest reply on May 7, 2006 by farzad
Hi

I am tryin to access value of the "sign-off "association defined in SOP ,which is another document .I managed to reach until here:


NodeRef nodeRef = JCRNodeRef.getNodeRef(child);
QName type = nodeService.getType(nodeRef);
Map map=dictionaryService.getClass(type).getAssociations();
     for (Iterator it=map.values().iterator(); it.hasNext(); ) {
                AssociationDefinition assoc = AsociationDefinition)it.next();}

And get the name of the association(signOff) ,however I am not able to go further and reach the target document.I looked at this http://forums.alfresco.com/viewtopic.php?t=1526&highlight=association  as well ,but not working for me

Any hint is appreciated

Thanks

Outcomes