
Hello,
Is it possible to download all the aatachments that is on the cusotom objects with one butoon click?
If yes how to implemet it please help.
Thank You
9 个回答
I would suggest you to use Wrapper class(http://wiki.developerforce.com/page/Wrapper_Class) to render the list of attachments on the VF page - this class will give the ability to users to choose which file they wish to download and you then need to create a method in your controller to download the selected files.
read on the below link to find how to download files thru a VF page:
https://developer.salesforce.com/forums?id=906F000000096oSIAQ
Since this community is more focused on configuration stuff, therefore it's better to ask code related queries at developer forum instead for better results. Here is the link to developer forum.
https://developer.salesforce.com/forums#!/feedtype=RECENT&criteria=ALLQUESTIONS&