After reading this article you will know:
- How to zip files with the zip event
- How to unzip files with the zip event
You can pick the zip event when building your action. This will allow you to zip and unzip files in your application.
Unzip a file
You can unzip a file from a file property to a (multi)file property. You'll have to set the operation to Unzip. Select where the files will be stored to (object and file property). And where the zipfile can be found. If you unzip multiple files into a single file property only the last file in the zip will be saved.
Zip multiple files
You can zip files from (multi)file properties. The created zip will be available in the action as variable and can be saved later using a create or update event. You'll have to select the operation to zip, select the (multi)file property in which the files are which you want to zip. Then set As to be the name of the zip variable which you can later use in the action.