This task creates a Zip file based on a given full file path with Zip file name and a folder to Zip. The task allows the user to decide whether to overwrite the Zip file if it exists or not and will report to a specified reporting Constant that will report if successful. If the task is not it will be set to an error condition prefixed with #ZPERROR.
|Title||Changes the Title (not the name) of the task.|
|ZIP File Name||Full file name and path for the Zip file to create, including extension.|
|Folder Name||Full file path of the folder that will be zipped.|
|Overwrite ZIP||TRUE to overwrite an existing Zip, FALSE to keep existing file.|
|Result Constant||The name of the Constant that the result will be posted to (with or without the DWConstant prefix).|
When this Task is added the properties are static. To be able to build rules on a static properties see How To: Change A Static Property To A Dynamic Property.
|Property Name||Example Rule||Example Result||Meaning|
|ZIP File Name||"C:\MyDocuments\Specifications\ZIPFolder\Documents" &DWSpecificationId&".zip"||C:\Main\MyDocuments\Specifications\ZIPFolder\Documents9999.zip||This is the file name and full file path to the location of the created Zip Folder.|
|Folder Name||"C:\MyDocuments\Projects\ProductInfo"||C:\MyDocuments\Projects\ProductInfo||This is the location of the folder to Zip.|
|Overwrite ZIP||TRUE||TRUE||TRUE will overwrite the Zip folder if it already exists in the Folder location.|
|Result Constant||"DWConstantReport"||DWConstantReport||This is the name of the Constant that the Macro Task will report to.|