Supported Clients
NGClient

Methods Summary
Object
copyObject(value)
Can be used to deep copy a custom value.
JSFoundSet
getViewFoundSet(name, query)

Boolean
hideForm(formName)
Hide a form directly on the server for instance when a tab will change on the client, so it won't need to do a round trip for hiding the form through the browser's component.

Methods Details

copyObject(value)

Can be used to deep copy a custom value.

Parameters

Object
value
the value to be copied

Returns

Object

Supported Clients

NGClient

Sample

var eventSourceCopy = servoyApi.copyObject(eventSource);

getViewFoundSet(name, query)

Parameters

String
name
;
QBSelect
query
;

Returns

JSFoundSet

Supported Clients

NGClient

Sample

hideForm(formName)

Hide a form directly on the server for instance when a tab will change on the client, so it won't need to do a round trip
for hiding the form through the browser's component.

Parameters

Object
formName
the form to hide

Returns

Boolean

Supported Clients

NGClient

Sample

servoyApi.hideForm(formToHideName)