cancel
Showing results for 
Search instead for 
Did you mean: 

How to get document path on document-details page

ffe5221
Champ in-the-making
Champ in-the-making

Newbie question:

I'm using version of Aflresco Community - 5.2.0 (r135134-b14)
I'm custmizing page of the document-details.

I want to get document path.
As far as I know ,can do with Alfresco Share Javascript API.
How do I use ?

Please how should I solve this problem?
Thanks in advanced.

1 REPLY 1

kalpesh_c2
Star Collaborator
Star Collaborator

Hi,

You have to call rest api for this which will return you the path of document.
You can use Repository Scriptnode API using this you can get the path of document 

document.displayPath‍

Thanks,
Kalpesh