+ Start a Discussion
marys pindamarys pinda 

Apex Class generate ZIP file


It is possible an apex class to create a CSV file and after to zip the CSV file into a zip file?

I read many forums but not found answers.

Thank you,
Hi, did you get a chance to go through the following peiece of code:

This has sample code which you can use and test in your test org
marys pindamarys pinda
Thank you!
Have a nice week...
Pedro I Dal ColPedro I Dal Col
You can use the Zippex library to zip or unzip files natively in Apex. It's open source.