Custom (manual) save button in File Dropper widget
0
Hi All, In the File dropper widget in Mendix, there is option to auto-save uploaded files and if we disable it, the only option that the widget seems to provide is to have a manual upload button against each file that is uploaded in the drop box. That is not really ideal if there are multiple documents uploaded at once. I want to know if there is a possibility of having a Save button on the page that could save all the files that are uploaded to the widget. I did try to have a custom save button but there wasn't any way to get hold of the files that are uploaded to the widget even thru association retrieve when the auto-save option is set to No. Seems like the files aren't uploaded to Mendix server unless until the auto-save is enabled or the upload button against each file is clicked.
asked
Sridevi Soundarajan
1 answers
0
Hi Sridevi Soundarajan,
You can use a separate attribute to diffrentiate whether the file is uploaded manually not, To achieve this add a IsManualSave as attribute in Document and while triggerring save button change the list of objects attribute values a IsManualSave to true.