I'm currently creating a widget and i'm using the saveDocument function https://apidocs.mendix.com/7/client/mx.data.html#.saveDocument I have a few questions. - is it possible to cancel the function after you start it? (when saving big files) - is it possible for it to not commit the files to the database right away so it's still possible to cancel the files after they are already uploaded? (example: you upload something commit, go back upload nother few files and then cancel, you still want the previous committed files but not the canceld files)
asked
Hong Wei Yang
2 answers
0
Take a look in the Dropzone widget.
answered
Chris de Gelder
0
Took a quick peek at mx.data.saveDocument. Unfortunately no... there is no way at the moment to cancel any ongoing uploads.