Hi Team;
How could we download a file using JS or Java code, please refer follow picture.
Thanks a lot.
The simplest way would be to use the ReST API to retrieve the content of that file using the getNodeContent operation - you have to use the UUID of the node as the nodeId for this operation, i.e. if the nodeRef for that document is workspace://SpacesStore/12345 then the UUID would be 12345
Hi
Thank you so much for the response.
1, Can I download the file by create an action? if yes, could you show me a simple case please.
2, Can I transform the file into a stream file then sending to another remote computer?
You can take reference of Existing Download Action.
Hi
Thank you for your advice.
Could you tell me where to find the 'Existing Download Action' code please?
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.