http://<servoy_server_ip>/servoy-client/servoy_client.jnlp?solution=crm&method=showOrder&argument=10444&rnd=12302 will only open a client when no one is running that solution, otherwise the running client will execute the method “showOrder”
(note: will only work in one local network!)
In the method showOrder you can do all kind of things, like showing a order with the order id passed via the argument in the URL, explanation:
solution=crm //name of the solution to open (this was already possible before 2.2)
method=showOrder //the name of the global method to fire (if not running this happens after the solution open method)
argument=10444 //the argument being passed to the method
rnd=12302 //optional a random number to prevent the browser to open something from the cache
Example for the global method “showOrder”:
plugins.dialogs.showInfoDialog(‘Title’, ‘seems working’ + arguments[0],‘OK’);
Or
forms.orders.controller.find()
forms.orders.orderid = arguments[0]
forms.orders.controller.search()
forms.orders.controller.show();