...
File Upload enables you to attach a file to a form.
File uploaded through the upload field is stored under "[Joget Installation Directory]/wflow/app_formuploads".
Info |
---|
title | How to set to a different storage path? |
---|
|
There are 2 ways you can change the wflow folder path: 1. by adding "-Dwflow.home=PATH" to your JAVA_OPTS when starting tomcat. 2. by setting the "Uploaded File Storage Base Path" option in General Settings. |
Get Started
The easiest way to see how the File Upload works are to use the existing built-in App Expenses Claims. Here are the steps:
Steps | Screens (Click to view) |
---|
- Start the Joget Server and open the App Center.
- Log in as admin and click on the pencil icon on the Expenses Claim to open the Design App. (see Figure 1)
- Click on Expense Claim Form and you will be directed to the Form Builder.
Hover the mouse over the File Upload element on the canvas entitled Attachments (i.e. Receipts, tickets etc.) and click on Edit to open up the Edit File Upload properties. (see Figure 2).
- To see it working, head back to the Design App and click the Launch button in the Userview column.
- Click on Create a New Expense Claim button on the Dashboard, fill up the necessary details and click Continue Next Screen.
- Here you will find the file upload. Click inside the box to upload or drag and drop files inside the box.
| Image Modified Figure 1
Image Modified Figure 2 |
File Upload Properties
Edit File Upload
...