Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
titleHow 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:

StepsScreens (Click to view)
  1. Start the Joget Server and open the App Center.

  2. Log in as admin and click on the pencil icon on the Expenses Claim to open the Design App. (see Figure 1)

  3. Click on  Expense Claim Form and you will be directed to the  Form Builder. 

  4. 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).


  5. To see it working, head back to the Design App and click the Launch button in the Userview column.

  6. Click on Create a New Expense Claim button on the Dashboard, fill up the necessary details and click Continue Next Screen

  7. 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

...