I'm working with alfresco 5.0.d. Is there a way to find all parents of a node ?
In a javascript webscript i want to get the parent folder tree of a specific folder until documentary library.
There must be a function which returns in one call the folder tree i want. But I don't know the function.
Thank you.
You can use any one of the ScriptNode API to get path details
qnamePath
A read-only QName type path to this node
displayPath
A read-only display path to this node
then with the string operation you could convert it in required format.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.