function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Apex_LearnerApex_Learner 

Download Multiple Files

Our users need to download multiple ContentDocument files, based on queries of related metadata (custom object) and/or file content (ContentVersion). 

 

And there could be 100s of such files that they want to download to their local computer based on one query....

 

We're replacing a  legacy system with SF, and that legacy system allows users to build such queries resulting in hundreds of files.  The legacy system then combines the files (along with a few standard report pages of the associated metadata) into a single (BIG) .PDF file which they then download to their local computer and print (or not) - so clicking hundreds of individual download links, giving a location/name for each file, would be quite tedious.  Users generally burn CDs with the PDF file - they don't normally print this much paper.

 

Any suggestions on how to do this, or something reasonably equivalent, in SF / VF?  

 

By the way, the users have Adobe Professional on their local computer, so if we could just get the files from SF into a single folder (or combine the file(s) into a single file or two) the users could then use Adobe to build their own PDF locally - I'm really interested in automating the download of ContentDocument file(s)  if at all possible...

Apex_LearnerApex_Learner

Any advice on this topic? 

 

Is there a better forum for this question?

Sonam MeshramSonam Meshram
If you want to download all the attachments for certain records, I came across the newly developed app in AppExchange where you can download almost any Attachment or File under one or multiple records all at once. The App also supports the download Static Resource & Documents too.
It is easy to use and saves lots of time.

Please have a look at https://sforce.co/34thF8U