cancel
Showing results for 
Search instead for 
Did you mean: 

Get document download link for Share

wanderer2019
Champ in-the-making
Champ in-the-making
Good day,

i have done dashlet to seach, based on specified number of parameters.

Now i need to show found documents and provide a download link for each. But i can not find - how to get download link for share application in script, fired on side of Alfresco application.

I tryed some: ScriptNode.url , ScriptNode.downloadUrl. No one of those give me a link to download from Share dashlet.

Is there any way to get it?
1 REPLY 1

zladuric
Champ on-the-rise
Champ on-the-rise
I'm guessing your search is done through some of the /alfresco webscripts. So I guess you can add one more, that will provide you with the node references to the files. Then, when you get search results, call your script and get the links to the docs, which you can put back on the dashlet later.
Maybe that can help?