Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
To facilitate integration by reading a flat file from the local file system and copying it into Joget for further processing.
Plugins Available in the Bundle:
Copy File Tool
This plugin bundle is compatible with Joget DX 8 and onwards.
The local system file is copied into Joget and the file can be downloaded.
Figure 1: File is copied into an upload file field
Refer to the Source Code and Plugin Download.
1. You can choose to import the demo app or create the app from scratch. For demo app, go to Joget Home or All Apps and click on Import App to import the downloaded demo app (refer to another KB - Import Joget App for more details).
2. To create the app from scratch, now let us create a new form Action Form with two fields, one with the name value field and the file path value field. This form is to enter an existing local system file path.
Figure 2: Action Form
3. Go to Settings > Advanced > Post Processing Tool > Copy File Tool. Next, configure the tool, for more details on configuration refer to Configure Copy File Tool
Figure 3: Configure File Copy Tool
4. Create another form Target Form consisting of a file upload field, name, and address field. The copied file will be stored in the file upload field.
Figure 4: Main Form (Check Box)
4. On the top right corner, click on generate app and generate CRUD for both form.
Figure 5: Main Form (Generate CRUD)
1. In runtime, go to Manage Action Form and click New. Fill in the path file and the targeted file to copy.
Figure 6: Manage Action Form
2. In Manage Target you can see the copied file.
Figure 7: Manage Target Form
3. Click on Edit, the copied file can be downloaded from the file upload field.
Figure 8: Manage Target Form - Edit Mode
Figure 9: Plugin Configurations for Copy File Tool
Name | Description | ||||||
---|---|---|---|---|---|---|---|
Copy File Tool Settings | Header Field. | ||||||
File Path Option | Two Options:
| ||||||
Enter File Path |
| ||||||
Form Field |
| ||||||
Form To Store File | Header Field. | ||||||
Form | Form to store the file path. | ||||||
File Field | Form Field to store the file path. |