Hello, When I upload a file using file dropper, the file is always automatically committed to the object, so that when I click the cancel button the file is still saved. I can set autosave to ’no‘, but that requires manually clicking the upload button. I want the file not to be automatically saved when I click the cancel button, how is it achieved? Thanks.
Currently you are using the regular cancel button. Instead you should use a custom microflow here.
-Remove the current cancel button
-Create a call microflow button.
- Retrieve the file that was just automatically committed by association
- Delete the file
- Close the page.
Hope this helps!
P.s. Is there a specific reason not to use the regular file manager widget that is included in Mendix?