AnsweredAssumed Answered

Get path without qname

Question asked by spilby on May 30, 2014
Latest reply on Jun 22, 2015 by spilby
If I want the path of a node, I do the following:


It returns something like this:


But I want a path like:

/company_home/User Homes/AGP/AGP2/New Documents/Test.pdf

Without the qnames, types, and with the correct format without _x0020_ codes.

Are there a method from the Alfresco API to get this type of path? Or I must decode it writing an own method in Java?


PD: I answer myself :o)

getNodeService().getPath(nodeRef).toDisplayPath(getNodeService(), getPermissionService())