AnsweredAssumed Answered

How to got node's url?

Question asked by oltchuva on Sep 26, 2008
Latest reply on Sep 30, 2008 by oltchuva
Hello,

I'm iterating trough search results and i need to get node's url

 for(ResultSetRow row : results)
            {
                NodeRef currentNodeRef = row.getNodeRef();
                String name = row.getValue(QName.createQName("{http://www.alfresco.org/model/content/1.0}name")).toString();
                String url = …
            }

How can I get URL that points to the node and can be used by user to download node's content? I have NodeRef with id and store information, but it's not a valid url. Any methods that can help me?

Thank you,
Olga

Outcomes