Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
...
Figure 1: Merge PDF Button in Datalist
1. You can obtain the jar file by the latest release at https://github.com/jogetoss/merge-pdf-datalist-action/releases.
...
1. Create a form with a file upload field to upload PDF file.
Figure 2: Add File Upload fields in form
...
Figure 3: Generate CRUD for form
3. Go to the List generatedBuilder. Drag the Merge PDF Datalist Action plugin into the datalist. By dragging to column, it will download each record row individually, by dragging to the bottom it will download based on selected records. Refer to to Merge PDF Datalist Action Properties for plugin configurations.
Figure 4: Drag Merge PDF Datalist Action Buttons into datalist
4. Publish and run the UI. Go to the CRUD and click New. Add a new record and upload multiple PDF files.
Figure 5: Upload some PDF files
5. Add another record to showcase downloading the zip file of all PDFs when all records are selected.
...
Figure 8: Download Merged PDF
8. Now, click on the Download all merged PDF in Zip, this will download all the merged PDFs in each record as a zip file
...
9. The ZIP file is downloaded. Extract the file and you can get the merged PDFs from each record.
Figure 10: Download all merged PDF in zip file
...
Figure 11: Merge PDF Datalist Action Plugin Configurations
Name | Description |
---|---|
Label | Datalist button label. |
Form * | Form that contains the file upload field. |
Field * | File Upload field that the PDF is uploaded to. |
Record Id Column | If not set, default value will be the primary key of the configured binder. |
Confirmation Message | Confirmation message before performing action, for example "Are you sure?". |
File Name | If not set, default file name will be based on record id field value. |
Zip File Name | The file name of the zip file. If not set, default file name will be the button label. |
You can obtain the jar file by the latest release at https://github.com/jogetoss/merge-pdf-datalist-action/releases.
Download the demo app from https://github.com/jogetoss/merge-pdf-datalist-action (.jwa file).