Hi!
We found this error in production a few times. Do you know why this happens and is there a solution for it? We check if the config is not empty before calling the action.
Cannot assign a JavaScript undefined with value undefined to an output parameter of type Text Check the JavaScript node 'SetViewLayout' of the action 'SetViewLayout'.
InvalidJavascriptType: Cannot assign a JavaScript undefined with value undefined to an output parameter of type Text Check the JavaScript node 'SetViewLayout' of the action 'SetViewLayout'. at u (https://x/scripts/OutSystems.js?_76la9RdS83d3gUNRay5qw:9:281) at Object.a [as from] (https://x/scripts/OutSystems.js?_76la9RdS83d3gUNRay5qw:8:29950) at https://x/scripts/OutSystemsDataGrid.controller.js?S5ervDmRwJgH9Hh6tDZ1AQ:10234:71 at e.safeExecuteJSNode (https://x/scripts/OutSystems.js?_76la9RdS83d3gUNRay5qw:16:17635) at OutSystemsDataGridController.default.setViewLayout$Action (https://xscripts/OutSystemsDataGrid.controller.js?S5ervDmRwJgH9Hh6tDZ1AQ:10228:42) at https://x/scripts/WB_DataGridComponenten.controller.js?eUdL5JyNVOYzGxuinmeCbg:1107:63
Kind regards,
Marjolein
Hi @Marjolein Lemkes
In order to be able to help you should provide a sample oml and an example of the data you're storing and passing to the client action SetViewLayout.Without that and simply with that error we can't do much.
Cheers,GM