May 21, 2024 17:11 Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients SampleSupported Clients
NGClient
Methods Summary
Object
copyObject(value)
Can be used to deep copy a custom value.
String
getMediaUrl(bytes)
This will generate a url from a byte array so that the client can get the bytes from that url.
QBSelect
getQuerySelect(dataSource)
Get select query for dataSource
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.
Object
value
the value to be copied
var eventSourceCopy = servoyApi.copyObject(eventSource);
getMediaUrl(bytes)
This will generate a url from a byte array so that the client can get the bytes from that url.
Array
bytes
The value where an url should be created for
var url = servoyApi.getMediaUrl(bytes);
getQuerySelect(dataSource)
Get select query for dataSource
String
dataSource
the dataSource
getViewFoundSet(name, query)
String
name
;
QBSelect
query
;
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.
Object
formName
the form to hide
servoyApi.hideForm(formToHideName)