For the below Search API request, we are not getting Digital workspace UI URL of any document. Its there any way to get it in Search API? Or is there any other API through which we can get UI path.
Request:
{
"query": {
"query": "hr:contractType:'personcontact'"
},
"paging": {
"maxItems": 500,
"skipCount": 0
},
"include": [
"aspectNames",
"properties",
"permissions",
"path"
]
}
Currently we are using Alfresco license version:
Content Services
Edition: Enterprise
Version: 7.2.1.9 (r73c0fd3f-b6765) schema 16100
There is no API to get directly the ADF path to a document, but you can use the REST API to identify the path of a document or folder.
$ curl --location 'http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/f3bb5d08-9fd1-46da-a94a-97f20f1ef208?include=path'
This will provide an output including the “path” information, for instance:
{ "entry": { ... "path": { "name": "/Company Home/Sites/swsdp/documentLibrary/Meeting Notes", ... }
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.