27
Views
2
Comments
Solved
Create Zip folders on export action
Question

I am new at Outsystems and I'm trying to export a contract list with one condition, it has to export one zip folder but inside it must have all the contract in zip folders. Which meams is there a way I can create zip folders inside one main zip folder?



Rank: #93
Solution

Hi Marco,


You can do that using Zip extension:



Your flow should look something like this, I added comments to make it more understandable:



The result of GetZipBinary is a zip binary you can download.

On your download action, don't forget to set the mime type = application/zip.


In attachment follows a URL with an example of downloading a list of users in a zip with a folder "Users".


Hope it helps.


Cheers,

João

ZipTest.oml

Hi Marco,

You have another option to zip file with password using BigZip component.

Component: https://www.outsystems.com/forge/component-overview/356/bigzip

https://www.outsystems.com/forums/discussion/61433/create-a-zip-using-bigzip/

Regards,

Samiksha