Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
The Form Files Zip Element plugin is used to zip all the documents in all or selected file/image upload fields in current form.
Plugins Available in the Bundle:
Form Files Zip Element
This plugin bundle is compatible with Joget DX 8.
The form file zip element is able to zip all the current form documents from all or selected fields.
Figure 1: Download all files from all fields or selected field
1. You can obtain the jar file by the latest release at https://github.com/jogetoss/form-files-zip-element/releases.
2. Upload the plugin jar file in Joget by going to Settings → Manage Plugins.
3. You can choose to import the demo app or create the app from scratch.
1. Download the demo app from https://github.com/jogetoss/form-files-zip-element (.jwa file).
2. Go to Joget Home or All Apps and click on Import App to import the downloaded demo app.
1. Create a form with file upload fields and image upload fields. Drag the Form Files Zip Element into the form. For plugin configurations refer to Form Files Zip Element Properties. One element will demonstrate downloading all files in form, and another element will demonstrate downloading from selected upload field (File Upload 1).
Figure 2: Form Files Zip Element in Form Builder
2. On the right up corner, click on Generate App > Generate CRUD
Figure 3: Generate CRUD for form
3. Publish and run the UI. Go to manage form and add a new record.
Figure 4: Upload files into file upload and image upload fields and save
4. After saving the form. Click on edit the record, and click on the button Download All Files in Form as Zip File. Extract the zip files and you can see all the files downloaded.
Figure 5: Click on button and download all files as zip
5. Now click on Download Zip from Selected Field (File Upload 1). After downloading and extracting the zip, only 1 file is downloaded which is under File Upload 1 field.
Figure 6: Click on button and download all files from file upload 1 as zip
Figure 7: Form Files Zip Element Plugin Configurations
Name | Description | ||||
---|---|---|---|---|---|
Show Label | If checked, shows menu label. | ||||
Label | Menu label. | ||||
ID * | Menu element unique ID. | ||||
Button Label * | Button label to be shown. | ||||
Form * | Current form that contains the file and/or image upload . | ||||
Download Configurations * | Download configurations to decide whether to:
| ||||
Download Fields | This grid will only be visible if "Download Configurations" value is "Download from Selected Fields in Form". This grid defines the selected fields to be downloaded in the form.
|