Why is it that Alfresco and OpenCMIS forum is missing a basic and absolutely essential functionality like gettting a fullpath of document or folder from root. I am using apache chemistry package as opencmis for my alfresco repository. I am struggling to fetch the full document or folder path.
Is it not a basic and fundamental requirement of any document management system?
Probably this can help you:
https://angelborroy.wordpress.com/2017/05/12/alfresco-accessing-folders-by-path-via-rest/
In addition to Angel Borroy useful link above (to get a node by path) ...
Given a node (eg. document or folder), maybe returned from a search query, you can also use the Content Services REST API to return the path of the node via "include=path", see:
Alfresco Content Services REST API Explorer
It should be noted that this is the *primary* path. Also, if the user does not have permission to one or more parents on the path, then the path will stop at the first missing parent (with incomplete=true).
Hope this helps :-)
Regards,
Jan
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.