Hi

I have the following:

 

Users/myuser

Users/mygroup

 

I want myuser as part of mygroup

 

        String parent = "Users/mygroup";

        String linkURI = parent+"/myuser";

 

        LinkNode link = new LinkNode(linkURI);

        AccessToken.begin();

        structure.createLink(SlideToken, link, linkURI,
structure.retrieve(SlideToken, "Users/myuser");

        AccessToken.commit();

 

This seems to work fine when I browse using windows explore, but when I
access through the JAVA API and structure.retrieve() I get that all my
linkNodes has the parent (mygroup) as there displayname
(ObjectNode.getName()).

 

Is it necessary to strip the URI to get the correct name or is there
anyone who knows why I get the displayname to be equal to my parent
node????

 

Regards 

 

Troels Rossing

 

www.Qualiware.com

 

Reply via email to