How to pass two page parameters/objects to mx.ui.openForm
0
Does anybody know how to call the Mx client api (https://apidocs.rnd.mendix.com/9/client/mx.ui.html) so that two objects can be passed to mx.ui.openForm, so by e.g. JavaScript a page can be opened which expects 2 parameters? For a page expecting 1 object this example works fine: var c = new mendix.lib.MxContext(); c.setContext("Module.Entiteit", "69524319249774984"); mx.ui.openForm("Module/Entiteit_Details.page.xml", {context: c}); If I try to open a page that expects 2 parameters, you get an error: Error: Cannot open form 'Module/Entiteit_Details2.page.xml', as it expects multiple parameters