Hello Everyone,
We have ACS v7.1.x setup in our environments and using custom ADF Application as Front-end.
For multiple document download as a zip, we're using Alfresco OOTB APIs (listed under Downloads in API Explorer) for Create a new Download, Checking status of it and then once done, we're providing Download link to ZIP document.
Here, I have few queries and need some customization in this functionality. Any help would be much appreciated.
1. I have gone throguh Download zip codebase from Alfresco Github. As per my understanding, if we are giving 10 nodeids as request parameter in create download API, it will create a temporary node id, create assoications with 10 nodeids and then, running Action named 'createDownloadArchiveAction' to get each node ids downloaded as a zip. Can anyone confirm if I've some misunderstanding?
2. I would like to know how this Action 'createDownloadArchiveAction' works? What's actually running in background?
3. In zip, all 10 nodes will be having name same as 'cm:name' set in Alfresco. Now, My requirement is to have different names (based on certain custom content model metadata fields) for all 10 nodes inside zip. How can I achieve this? Any help?
Thanks & Regards,
Jigir