Solution Model newGlobalMethod is deprecated
Posted: Mon Apr 08, 2019 8:41 pm
In the Servoy Wiki:
https://wiki.servoy.com/display/DOCS/So ... del-Create
it gives this example:
var globalMethod = solutionModel.newGlobalMethod('function myGlobalMethod() { currentcontroller.newRecord(); }');
But in Version: 8.4.0.3402 the newGlobalMethod is shown as deprecated.
What should be used instead?
thanks,
Terry
https://wiki.servoy.com/display/DOCS/So ... del-Create
it gives this example:
var globalMethod = solutionModel.newGlobalMethod('function myGlobalMethod() { currentcontroller.newRecord(); }');
But in Version: 8.4.0.3402 the newGlobalMethod is shown as deprecated.
What should be used instead?
thanks,
Terry