Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Our cases have most often 3-5 files attached.

On the Case page, I can see the files listed.

Is there a way to download ALL attachments together? With out the need to click on each of them?

share|improve this question
Not sure what do you mean as 1 file. If you want to retrieve a list of attachments on a Case, you can simply query the Attachment object, like, List<Attachment> attlist = [select id, body from attachment where parentid = 'CaseId']; – Jia Hu Jan 23 '13 at 15:43
Try combining a JS query (… , GETRECORDIDS etc samples for AJAX toolkit) with something like – eyescream Jan 23 '13 at 16:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.