File dropper autosave

0
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.
asked
2 answers
1

Hi Tao,

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?

answered
0

Hello,

 

I also have the same issue but in a slightly different way. In my case, the users doesn't need to click cancel button. For example, they can click any button on the navigation and everything should be cancelled and files should be deleted. Any way to handle this?

answered