Page History
...
Starting with Servoy 8.3.1 inside the server side scripting file of a component/service you can call specific api using object "servoyApi".
hideForm api is used to mark a form as not visible anymore immediately because cannot wait for client to mark it as hidden(for example in removeTab of a tabpanel).
Code Block | ||||
---|---|---|---|---|
| ||||
servoyApi.hideForm('myform') |
copyObject is used to create a new javascript object from existing one. This is a shortcut for creating the object from scratch and copying all properties.
Code Block | ||||
---|---|---|---|---|
| ||||
var tabCopy = servoyApi.copyObject($scope.model.tabs[0]) |
getViewFoundSet is used to creates a view (read-only) foundset from a query builder select (QBSelect) (available starting with Servoy 8.4.0)
Code Block | ||||
---|---|---|---|---|
| ||||
var query = parentFoundset.getQuery(); var myViewFoundset = servoyApi.getViewFoundSet("myViewFoundset", query); |
getQuerySelect is getQuerySelect is used to get select query for a dataSource (available starting with Servoy 2019.03)
...