<!--:en-->Zip attachments in Salesforce with only Apex<!--:--><!--:zh-->Salesforce中仅使用Apex进行打包下载多个附件<!--:--><!--:ja-->ApexだけでSalesforceの添付ファイルをZipしてダウンロード<!--:-->
Before this post (about 2 years ago), I’d shared a post that is about how to zip attachments with JSZip and Apex in Salesforce, and recently I found a more simple way to do that thing, which is only using an Apex library named “Zippex” ( view on Github). Here is the outline of my sample code: 1. Select attachments from an object id. 2. Zip those files with Zippex. 3. Save Blob data of zip file…
View On WordPress











