Child pages
  • ServoyApi

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListNGClient

servoy sSummary12%30%58%height: 30px;3Methods SummaryCan be used to deep copy a custom value.This will generate a url from a byte array so that the client can get the bytes from that url.Get select query for dataSourceHide 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.

functionservoy sDetail2100%height:30px2Methods DetailscopyObjectname

copyObject(value)

dessIndent
Can be used to deep copy a custom value.
prs

Parameters

sIndentvaluethe value to be copied
ret

Returns

sIndent a copy of the value object, the same as constructing the object in javascript from scratch
clients

Supported Clients

sIndentNGClient
sam

Sample

sIdentjavascript
lastDetailRowgetMediaUrlname

getMediaUrl(bytes)

dessIndent
This will generate a url from a byte array so that the client can get the bytes from that url.
prs

Parameters

sIndentbytesThe value where an url should be created for
ret

Returns

sIndent the url where the bytes can be downloaded from
clients

Supported Clients

sIndentNGClient
sam

Sample

sIdentjavascript
lastDetailRow
getQuerySelectname

getQuerySelect(dataSource)

dessIndent
Get select query for dataSource
prs

Parameters

sIndentdataSourcethe dataSource
ret

Returns

sIndent QB select for the dataSource
clients

Supported Clients

sIndentNGClient
sam

Sample

sIdentjavascript
lastDetailRow
getViewFoundSetname

getViewFoundSet(name, query)

dessIndentprs

Parameters

sIndentname ;query ;
ret

Returns

sIndent
clients

Supported Clients

sIndentNGClient
sam

Sample

sIdentjavascript
lastDetailRow
hideFormname

hideForm(formName)

dessIndent
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.
prs

Parameters

sIndentformNamethe form to hide
ret

Returns

sIndent true if the form was hidden
clients

Supported Clients

sIndentNGClient
sam

Sample

sIdentjavascript
lastDetailRow