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". Currently, there are only two api supported: hideForm(formName) and copyObject(object). hideForm
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 | ||||
---|---|---|---|---|
| ||||
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); |
Overview
Content Tools
Activity