I am using the Word Exporter module in my 8.14.1 Mendix project to generate Office Word documents from a predefined template. After generating the document, I use the ‘Download File’ action to download it to the client. Because there may be many of these document generations, I do not want to store the files in the database. But when I add a ‘Delete Object’ action for the new document after the download action, I get the following error: An error occurred while executing an action of DGAFAModule.Word_Document_Generation.actionButton1: Did not expect an argument to be undefined Error: An error occurred while executing an action of DGAFAModule.Word_Document_Generation.actionButton1: Did not expect an argument to be undefined at http://localhost:8082/mxclientsystem/mxui/mxui.js?637558866293661256:79:301694 at _e (http://localhost:8082/mxclientsystem/mxui/mxui.js?637558866293661256:34:6720) at r (http://localhost:8082/mxclientsystem/mxui/mxui.js?637558866293661256:34:6616) at d (http://localhost:8082/mxclientsystem/mxui/mxui.js?637558866293661256:39:145114) How can I delete this System.FileDocument object shortly after downloading it?
↧