AnsweredAssumed Answered

send file response at share side as download file

Question asked by power on Mar 27, 2012
Latest reply on Mar 27, 2012 by davidcognite

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…