Move files from app_tempfile to app_formuploads

Confluence User - 21 Apr, 2024

I use joget dx 8, I use costum html in my form to upload image.
The problem here is that the image uploaded will be saved in the folder "C:\Joget-DX8\wflow\app_tempfile" it was for the temporary files , and I want that the image uploaded will be saved in the folder: "C:\Joget-DX8\wflow\app_formuploads\questions" 
Any help please 

forms;fileupload;form;custom;customhtml;jogetdx;javascript;customcode

2


22 Apr, 2024
confluenceUser
confluenceUser

Hi,

To view the file in Joget form, the file/image has to be uploaded in the form itself so that the record id is used for the upload folder name, as in ".\wflow\app_formuploads\myApp\7d1d8056-1d5f-4ab0-b874-da0dc9f69444\myFile.pdf".

The concept of file upload can be understood with this concept : 
Files uploaded in the form is saved in \wflow\app_formuploads .
If you want to save to a different folder, you can define the path in general settings, if not mistaken.

general settings > Uploaded File Storage Base Path



There is also a KB for uploading to external storage integrated with Amazon S3 : File Upload Form Element Integrated with Amazon S3

24 Apr, 2024
confluenceUser
confluenceUser

Thank you

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print