How to get document path on document-details page

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Member II

How to get document path on document-details page

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
Highlighted
Senior Member

Re: How to get document path on document-details page

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