0

Can anyone tell me how to download the multiple files via apex?
I have a visualforce page which contains download button. Once I click this button then it will download all the files in my attachement object.
For that how can i implement.

Thanks in advance
Karthick

1 Answer 1

2

You can create page with links to your attachments or add multiple attachments in zip archive.

3
  • can you give me the sample code for how to add multiple attachments in zip Apr 7, 2015 at 8:23
  • The easiest way in this case is create zip on client side. Following link can be useful valnavjo.com/blog/compressing-files-in-salesforce
    – Gres
    Apr 7, 2015 at 8:50
  • Can you tell me some other method to implement the above usecase Apr 8, 2015 at 4:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.