Excel Exporter - did not expect argument to be undefined
Hi guys, when executing the Excel Exporter we get the error below. Does someone know how to deal with this? Thanks a lot! An error occurred while executing an action of MyFirstModule.Home.actionButton7: Did not expect an argument to be undefined Error: An error occurred while executing an action of MyFirstModule.Home.actionButton7: Did not expect an argument to be undefined at http://localhost:8080/mxclientsystem/mxui/mxui.js?637291249545092728:73:300295 at we (http://localhost:8080/mxclientsystem/mxui/mxui.js?637291249545092728:35:9232) at r (http://localhost:8080/mxclientsystem/mxui/mxui.js?637291249545092728:35:9128) at d (http://localhost:8080/mxclientsystem/mxui/mxui.js?637291249545092728:40:143325)
Have you checked the acces rules of your file document entity? I had the same error when not setting up the rights to the file document correctly. Also, see https://forum.mendix.com/link/questions/95757.
Casper van Hoorn
Can you show the microflow which is used to produce the Excel Export?
If the access rules are not the reason for the problem (as Casper said), then it might be that you have configured an input object in you rexcel export template which is not passed to the the Excel Export Java Action
It seems to be an access right topic. :-) With the security turned off, everthing works fine. I have to figure out, how I can change the access rights to the FileDocument-Entity. I was never in this part of Mendix and everything is greyed out. ;-)