cancel
Showing results for 
Search instead for 
Did you mean: 

send file response at share side as download file

power
Champ in-the-making
Champ in-the-making
Hi,

I have custom action on advance search in alfresco share enterprise 4, I place export button. When I click "Export" it should export metadata.
I can populate search nodes to repository side webscript and I generate csv in webscript class itself.

Now how can I send it to share side that file as a response? I refered streamContent class but it seems it requires nodeRef (so content should be stored in alfresco repo first) can't it possible if we have stored file in tomcat/temp/xyz.csv  and picked that file and send it to share side as download prompt???

if anybody achieved like this please suggest pointer…
1 REPLY 1

davidcognite
Star Contributor
Star Contributor
For those following along, there is a discussion on a similar issue here: https://forums.alfresco.com/en/viewtopic.php?f=48&t=43720