Skip to content

Valnavjo/salesforce-file-compression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

salesforce-file-compression

Imagine that you want to zip a bunch of Files (Attachments, Documents, etc.) and send them via email. Right now there isn't any app in the Appexchange that provides this functionality and, actually, there isn't any class in Salesforce that allows developers to compress files. So, what's the workaround? I will give you a clue... forget about compress server-side ;)

Right now the only way is performing the compression client-side. The way in which this works is by using the Javascript library called JSZip.

Tested in the following web browsers:

  • Chrome v24.
  • Firefox v18.
  • Safari v6.

See the full reference here.

Be Apex my friend!

Releases

No releases published

Packages

No packages published

Languages