cancel
Showing results for 
Search instead for 
Did you mean: 

How to get node's downloadURL using JAVA API of Alfresco ?

nirvanvjain
Champ on-the-rise
Champ on-the-rise
Hi Folks,

Since last couple of days, I am wondering of that how to get the Alfresco node's DOWNLOADURL in Java API of Alfresco(Foundation API)?

In JAVASCRIPT API, node.downloadURL is available to get directly download URL.

How to get downloadURL using JAVA API of Alfresco ??????

Thanks!
-Nirvan
1 REPLY 1

sujaypillai
Confirmed Champ
Confirmed Champ
Hello Nirvan,

Check out this link: http://wiki.alfresco.com/wiki/URL_Addressability#DownloadContentServlet

DownloadContentServlet.java has a method -> generateDownloadURL for this.


Hope so that helps you!!!

Thanks,
Sujay