Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{hidden}
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE{hidden}
{sub-section:description|text=}{sub-section}\\ 

{table:id=|class=servoy sReturnTypes}{tr:style=height: 30px;}{th}Return Types Details{th}{tr}{tr}{td}{span:class=sWordList}[DRAGNDROP]{span}{span:class=sWordList}[JSEvent]{span}{span:class=sWordList}[APPLICATION_TYPES]{span}{span:class=sWordList}[ELEMENT_TYPES]{span}{span:class=sWordList}[LOGGINGLEVEL]{span}{span:class=sWordList}[UICONSTANTS]{span}{span:class=sWordList}[WEBCONSTANTS]{span}{span:class=sWordList}[UUID]{span}{td}{tr}{table}\\ 

{table:id=|class=servoy sSummery}{colgroup}{column:padding=0px|width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summery{th}{tr}{tbody}{tr}{td}void{td}{td}[#addClientInfo]\(info)
Adds a string of client information which gets stored on the server, 
and can be viewed on the Clients page of Servoy Server Administration Console.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#beep]\()
Produces a "beep" sound; commonly used to indicate an error or warning dialog.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#closeForm]\(\[windowOrDialogName/closeAll\])
Close the dialog/window with the given name (call this method to hide the form shown with 'showFormInDialog' or 'showFormInWindow').{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#closeSolution]\(\[solutionToLoad\], \[method\], \[argument\])
Close the current open solution and optionally open a new one.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#createNewFormInstance]\(designFormName, newInstanceScriptName)
Create a new form instance.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#executeProgram]\(programName(fullpath), \[arg1\], \[arg2\], \[argN\], \[#\], environmentvar1, \[environmentvarN\], \[startdirectory\])
Execute a program and returns output.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#executeProgramInBackground]\(programName(fullpath), \[arg1\], \[arg2\], \[argN\], \[#\], \[environmentvar1\], \[environmentvarN\], \[startdirectory\])
Execute a program in the background.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#exit]\()
Stop and exit application.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getActiveClientCount]\(currentSolutionOnly)
Get the active user count on the server (can be limited to current solution).{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getApplicationType]\()
Get the application type.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getClientCountForInfo]\(info)
Gets the count for all clients displaying the same additional information 
in the Clients page of Servoy Server Administration Console.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getClipboardString]\()
Gets a string from the clipboard, null if not a string or empty.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getCurrentLookAndFeelName]\()
Gets the name of the current Look And Feel specified in Application Preferences.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getHostName]\()
Get the name of the localhost.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getIPAddress]\()
Get the clients' IP address.{td}{tr}{tbody}{tbody}{tr}{td}[String]\[]{td}{td}[#getLicenseNames]\()
Get the names of the used client licenses (as strings in array).{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getOSName]\()
Returns the name of the operating system.{td}{tr}{tbody}{tbody}{tr}{td}[String]\[]{td}{td}[#getPrinters]\()
Get all the printer names in an array.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getScreenHeight]\()
Get the screen height in pixels.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getScreenWidth]\()
Get the screen width in pixels.{td}{tr}{tbody}{tbody}{tr}{td}[Date]{td}{td}[#getServerTimeStamp]\()
Returns a date object initialized on server with current date and time.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getServerURL]\()
Gets the HTTP server url.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getSolutionName]\()
Returns the name of the current solution.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getSolutionRelease]\()
Get the solution release number.{td}{tr}{tbody}{tbody}{tr}{td}[Object]\[]{td}{td}[#getStartupArguments]\()
Get the parameters which are provided by startup.{td}{tr}{tbody}{tbody}{tr}{td}[Date]{td}{td}[#getTimeStamp]\()
Returns a date object initialized in client with current date and time.{td}{tr}{tbody}{tbody}{tr}{td}[UUID]{td}{td}[#getUUID]\(\[uuidStringOrByteArray\])
Get a new UUID object (also known as GUID) or convert the parameter (that can be string or byte array) to an UUID object.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getUserProperty]\(name)
Get a persistent user property.{td}{tr}{tbody}{tbody}{tr}{td}[String]\[]{td}{td}[#getUserPropertyNames]\()
Get all persistent user property names.{td}{tr}{tbody}{tbody}{tr}{td}[Array]{td}{td}[#getValueListArray]\(name)
Retrieve a valuelist as array, to get real\-values for display\-values.{td}{tr}{tbody}{tbody}{tr}{td}[Object]{td}{td}[#getValueListDisplayValue]\(name, realValue)
Retrieve a valuelist display\-value for a real\-value.{td}{tr}{tbody}{tbody}{tr}{td}[JSDataSet]{td}{td}[#getValueListItems]\(name)
Get all values from a custom or database type value list as dataset (with columns displayValue,realValue).{td}{tr}{tbody}{tbody}{tr}{td}[String]\[]{td}{td}[#getValueListNames]\()
Get all the valuelist names as array.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getVersion]\()
Returns the application version.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getWindowHeight]\(\[windowName\])
Get the window height in pixels.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getWindowWidth]\(\[windowName\])
Get the window width in pixels.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getWindowX]\(\[windowName\])
Get the window X location in pixels.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getWindowY]\(\[windowName\])
Get the window Y location in pixels.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#isInDeveloper]\()
Returns true if the solution is running in the developer.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#isLastPrintPreviewPrinted]\()
Check if the last printpreview did print.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#output]\(msg)
{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#output]\(msg, \[level\])
Output something on the out stream.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#overrideStyle]\(originalStyleName, newStyleName)
Overrides one style (defined in in a form) with another.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#playSound]\(url)
Play a sound (AU file, an AIFF file, a WAV file, and a MIDI file).{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#redo]\()
Redo last action (if possible).{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#removeAllClientInfo]\()
Removes all names given to the client via the admin page.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setClipboardContent]\(string)
Sets a string object in the clipboard.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setNumpadEnterAsFocusNextEnabled]\(enabled)
Set if numpad enter should behave like focus next.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setStatusText]\(text, \[tip\])
Set the status area value.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setToolbarVisible]\(name, visible)
Make a toolbar visible or invisible.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#setUIProperty]\(name, value)
Sets a UI property.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setUserProperty]\(name, value)
Set a persistent user property.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setValueListItems]\(name, displayValArray/dataset, \[realValuesArray\], \[autoconvert(false)\])
Fill a custom type valuelist with values from array(s) or dataset.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setWindowLocation]\(x, y, \[windowName\])
Set the window location.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setWindowSize]\(width, height, \[windowName\])
Set the window size.{td}{tr}{tbody}{tbody}{tr}{td}[Date]{td}{td}[#showCalendar]\(\[selecteddate\], \[dateformat\])
Show the calendar, returns selected date or null if canceled.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#showColorChooser]\(\[colorString\])
Show the colorChooser.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#showFontChooser]\(\[fontString\])
Show the font chooser dialog.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showForm]\(form)
Show the form specified by the parameter, that can be a name (is case sensitive!) or a form object.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showFormInDialog]\(form, \[x\], \[y\], \[width\], \[height\], \[dialogTitle\], \[resizable\], \[showTextToolbar\], \[windowName\], \[modal\])
Show the specified form in a dialog.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showFormInWindow]\(form, \[x\], \[y\], \[width\], \[height\], \[dialogTitle\], \[resizable\], \[showTextToolbar\], \[windowName\])
Show the specified form in a window.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#showI18NDialog]\(\[keyToSelect\], \[languageToSelect\])
Opens the i18n dialog so users can change translations.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#showURL]\(url, \[webclientTarget\], \[webclientTargetOptions/timeout\], \[timeout\])
Shows an URL in a browser.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#sleep]\(ms)
Sleep for specified time (in milliseconds).{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#undo]\()
Undo last action (if possible).{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#updateUI]\(\[milliseconds\])
Updates the UI (painting).{td}{tr}{tbody}{table}\\ 

{table:id=function|class=servoy sDetail}{colgroup}{column:padding=0px|width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=addClientInfo|class=node}{tr:id=name}{td}h6.addClientInfo{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}addClientInfo{span}{span:id=iets|style=float: left;}\(info){span}{td}{tr}{tr:id=des}{td}{sub-section:addClientInfo_des|text=|trigger=button}{sub-section}{sub-section:addClientInfo_des|trigger=none|class=sIndent}Adds a string of client information which gets stored on the server, 
and can be viewed on the Clients page of Servoy Server Administration Console.

The new piece of client information is added on behalf of the running 
Servoy client.

This function can be called more than once, if you want to add multiple
lines of client information.

NOTE: 
This function can also be used with the function <em>getClientCountForInfo</em>
to count the number of clients with matching addditional client information.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:addClientInfo_snc|text=|trigger=button}{sub-section}{sub-section:addClientInfo_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:addClientInfo_prs|text=|trigger=button}{sub-section}{sub-section:addClientInfo_prs|trigger=none|class=sIndent}\{[String]} info -- A line of text to be added as additional client information
             on behalf of the running Servoy client.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:addClientInfo_ret|text=|trigger=button}{sub-section}{sub-section:addClientInfo_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:addClientInfo_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:addClientInfo_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:addClientInfo_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:addClientInfo_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:addClientInfo_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:addClientInfo_sam|trigger=none}{code:language=javascript}
application.addClientInfo('SaaS company name');
application.addClientInfo('For any issues call +31-SA-AS');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=beep|class=node}{tr:id=name}{td}h6.beep{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}beep{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:beep_des|text=|trigger=button}{sub-section}{sub-section:beep_des|trigger=none|class=sIndent}Produces a "beep" sound; commonly used to indicate an error or warning dialog.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:beep_snc|text=|trigger=button}{sub-section}{sub-section:beep_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:beep_prs|text=|trigger=button}{sub-section}{sub-section:beep_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:beep_ret|text=|trigger=button}{sub-section}{sub-section:beep_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:beep_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:beep_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:beep_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:beep_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:beep_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:beep_sam|trigger=none}{code:language=javascript}
application.beep();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=closeForm|class=node}{tr:id=name}{td}h6.closeForm{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}closeForm{span}{span:id=iets|style=float: left;}\(\[windowOrDialogName/closeAll\]){span}{td}{tr}{tr:id=des}{td}{sub-section:closeForm_des|text=|trigger=button}{sub-section}{sub-section:closeForm_des|trigger=none|class=sIndent}Close the dialog/window with the given name (call this method to hide the form shown with 'showFormInDialog' or 'showFormInWindow'). If (true) is passed, then all the windows/dialogs will be closed. If the name is missing or null, the default dialog/window will be closed.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:closeForm_snc|text=|trigger=button}{sub-section}{sub-section:closeForm_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:closeForm_prs|text=|trigger=button}{sub-section}{sub-section:closeForm_prs|trigger=none|class=sIndent}\[windowOrDialogName/closeAll\] -- Name of the dialog/window to close, or (true) to close all open dialogs/windows.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:closeForm_ret|text=|trigger=button}{sub-section}{sub-section:closeForm_ret|trigger=none|class=sIndent}[Boolean] -- Boolean (true) if the dialog(s)/window(s) were closed, (false) otherwise{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:closeForm_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:closeForm_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:closeForm_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:closeForm_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:closeForm_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:closeForm_sam|trigger=none}{code:language=javascript}
application.closeForm(); // closes the current dialog/window
//application.closeForm('windowOrDialogName'); //closes the dialog/window with this specific name
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=closeSolution|class=node}{tr:id=name}{td}h6.closeSolution{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}closeSolution{span}{span:id=iets|style=float: left;}\(\[solutionToLoad\], \[method\], \[argument\]){span}{td}{tr}{tr:id=des}{td}{sub-section:closeSolution_des|text=|trigger=button}{sub-section}{sub-section:closeSolution_des|trigger=none|class=sIndent}Close the current open solution and optionally open a new one.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:closeSolution_snc|text=|trigger=button}{sub-section}{sub-section:closeSolution_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:closeSolution_prs|text=|trigger=button}{sub-section}{sub-section:closeSolution_prs|trigger=none|class=sIndent}\[solutionToLoad\] -- Name of the solution to load
\[method\] -- Name of the global method to call
\[argument\] -- Argument passed to the global method
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:closeSolution_ret|text=|trigger=button}{sub-section}{sub-section:closeSolution_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:closeSolution_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:closeSolution_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:closeSolution_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:closeSolution_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:closeSolution_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:closeSolution_sam|trigger=none}{code:language=javascript}
application.closeSolution();
//application.closeSolution('solution_name','global_method_name','my_argument');//log out, open solution 'solution_name', call global method 'global_method_name' with argument 'my_argument'
//note: specifying a solution will not work in developer due to debugger dependencies
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=createNewFormInstance|class=node}{tr:id=name}{td}h6.createNewFormInstance{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}createNewFormInstance{span}{span:id=iets|style=float: left;}\(designFormName, newInstanceScriptName){span}{td}{tr}{tr:id=des}{td}{sub-section:createNewFormInstance_des|text=|trigger=button}{sub-section}{sub-section:createNewFormInstance_des|trigger=none|class=sIndent}Create a new form instance.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:createNewFormInstance_snc|text=|trigger=button}{sub-section}{sub-section:createNewFormInstance_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:createNewFormInstance_prs|text=|trigger=button}{sub-section}{sub-section:createNewFormInstance_prs|trigger=none|class=sIndent}\{[String]} designFormName -- Name of the design form
\{[String]} newInstanceScriptName -- Name of the new form instance
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:createNewFormInstance_ret|text=|trigger=button}{sub-section}{sub-section:createNewFormInstance_ret|trigger=none|class=sIndent}[Boolean] -- Boolean (true) if the instance was created succesfully, (false) otherwise{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:createNewFormInstance_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:createNewFormInstance_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:createNewFormInstance_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:createNewFormInstance_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:createNewFormInstance_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:createNewFormInstance_sam|trigger=none}{code:language=javascript}
var ok = application.createNewFormInstance('orders','orders_view');
if (ok)
{
	application.showFormInDialog(forms.orders_view)
	//forms['orders_view'].controller.show()
	//forms.xyz.elements.myTabPanel.addTab(forms['orders_view'])
	//forms['orders_view'].elements.mylabel.setLocation(10,20)
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=executeProgram|class=node}{tr:id=name}{td}h6.executeProgram{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}executeProgram{span}{span:id=iets|style=float: left;}\(programName(fullpath), \[arg1\], \[arg2\], \[argN\], \[#\], environmentvar1, \[environmentvarN\], \[startdirectory\]){span}{td}{tr}{tr:id=des}{td}{sub-section:executeProgram_des|text=|trigger=button}{sub-section}{sub-section:executeProgram_des|trigger=none|class=sIndent}Execute a program and returns output. Specify the cmd as you would do in a console.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:executeProgram_snc|text=|trigger=button}{sub-section}{sub-section:executeProgram_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:executeProgram_prs|text=|trigger=button}{sub-section}{sub-section:executeProgram_prs|trigger=none|class=sIndent}programName(fullpath) -- Name of the program to execute
\[arg1\] -- Argument
\[arg2\] -- Argument
\[argN\] -- Argument
\[#\] -- Divider between program args, environment vars and startdir
environmentvar1 -- Environment variable
\[environmentvarN\] -- Environment variable
\[startdirectory\] -- Program start directory
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:executeProgram_ret|text=|trigger=button}{sub-section}{sub-section:executeProgram_ret|trigger=none|class=sIndent}[String] -- The output generated by the program execution.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:executeProgram_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:executeProgram_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:executeProgram_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:executeProgram_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:executeProgram_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:executeProgram_sam|trigger=none}{code:language=javascript}
//'#' is divider between program args, environment vars and startdir
var program_output = application.executeProgram('c:/temp/program.ext','arg0','arg1','argN','#','path=c:/temp','#','c:/temp');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=executeProgramInBackground|class=node}{tr:id=name}{td}h6.executeProgramInBackground{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}executeProgramInBackground{span}{span:id=iets|style=float: left;}\(programName(fullpath), \[arg1\], \[arg2\], \[argN\], \[#\], \[environmentvar1\], \[environmentvarN\], \[startdirectory\]){span}{td}{tr}{tr:id=des}{td}{sub-section:executeProgramInBackground_des|text=|trigger=button}{sub-section}{sub-section:executeProgramInBackground_des|trigger=none|class=sIndent}Execute a program in the background. Specify the cmd as you would do in a console.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:executeProgramInBackground_snc|text=|trigger=button}{sub-section}{sub-section:executeProgramInBackground_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:executeProgramInBackground_prs|text=|trigger=button}{sub-section}{sub-section:executeProgramInBackground_prs|trigger=none|class=sIndent}programName(fullpath) -- Name of the program to execute in background
\[arg1\] -- Argument
\[arg2\] -- Argument
\[argN\] -- Argument
\[#\] -- Divider between program args, environment vars and startdir
\[environmentvar1\] -- Environment variable
\[environmentvarN\] -- Environment variable
\[startdirectory\] -- Environment variable
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:executeProgramInBackground_ret|text=|trigger=button}{sub-section}{sub-section:executeProgramInBackground_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:executeProgramInBackground_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:executeProgramInBackground_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:executeProgramInBackground_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:executeProgramInBackground_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:executeProgramInBackground_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:executeProgramInBackground_sam|trigger=none}{code:language=javascript}
//'#' is divider between program args, environment vars and startdir
application.executeProgramInBackground('c:/temp/program.ext','arg0','arg1','argN');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=exit|class=node}{tr:id=name}{td}h6.exit{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}exit{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:exit_des|text=|trigger=button}{sub-section}{sub-section:exit_des|trigger=none|class=sIndent}Stop and exit application.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:exit_snc|text=|trigger=button}{sub-section}{sub-section:exit_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:exit_prs|text=|trigger=button}{sub-section}{sub-section:exit_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:exit_ret|text=|trigger=button}{sub-section}{sub-section:exit_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:exit_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:exit_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:exit_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:exit_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:exit_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:exit_sam|trigger=none}{code:language=javascript}
// exit application
application.exit();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getActiveClientCount|class=node}{tr:id=name}{td}h6.getActiveClientCount{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getActiveClientCount{span}{span:id=iets|style=float: left;}\(currentSolutionOnly){span}{td}{tr}{tr:id=des}{td}{sub-section:getActiveClientCount_des|text=|trigger=button}{sub-section}{sub-section:getActiveClientCount_des|trigger=none|class=sIndent}Get the active user count on the server (can be limited to current solution).{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getActiveClientCount_snc|text=|trigger=button}{sub-section}{sub-section:getActiveClientCount_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:getActiveClientCount_prs|text=|trigger=button}{sub-section}{sub-section:getActiveClientCount_prs|trigger=none|class=sIndent}\{[Boolean]} currentSolutionOnly -- Boolean (true) to get the active user count on server only to the current solution
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:getActiveClientCount_ret|text=|trigger=button}{sub-section}{sub-section:getActiveClientCount_ret|trigger=none|class=sIndent}[Number] -- Active user count on the server{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getActiveClientCount_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getActiveClientCount_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getActiveClientCount_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getActiveClientCount_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getActiveClientCount_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getActiveClientCount_sam|trigger=none}{code:language=javascript}
var count = application.getActiveClientCount(true);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getApplicationType|class=node}{tr:id=name}{td}h6.getApplicationType{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getApplicationType{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getApplicationType_des|text=|trigger=button}{sub-section}{sub-section:getApplicationType_des|trigger=none|class=sIndent}Get the application type.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getApplicationType_snc|text=|trigger=button}{sub-section}{sub-section:getApplicationType_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getApplicationType_prs|text=|trigger=button}{sub-section}{sub-section:getApplicationType_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getApplicationType_ret|text=|trigger=button}{sub-section}{sub-section:getApplicationType_ret|trigger=none|class=sIndent}[Number] -- Constant application type{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getApplicationType_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getApplicationType_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getApplicationType_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getApplicationType_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getApplicationType_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getApplicationType_sam|trigger=none}{code:language=javascript}
var type = application.getApplicationType();
//see application type contstant
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getClientCountForInfo|class=node}{tr:id=name}{td}h6.getClientCountForInfo{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getClientCountForInfo{span}{span:id=iets|style=float: left;}\(info){span}{td}{tr}{tr:id=des}{td}{sub-section:getClientCountForInfo_des|text=|trigger=button}{sub-section}{sub-section:getClientCountForInfo_des|trigger=none|class=sIndent}Gets the count for all clients displaying the same additional information 
in the Clients page of Servoy Server Administration Console.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getClientCountForInfo_snc|text=|trigger=button}{sub-section}{sub-section:getClientCountForInfo_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:getClientCountForInfo_prs|text=|trigger=button}{sub-section}{sub-section:getClientCountForInfo_prs|trigger=none|class=sIndent}\{[String]} info -- The additional client info string to search for.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:getClientCountForInfo_ret|text=|trigger=button}{sub-section}{sub-section:getClientCountForInfo_ret|trigger=none|class=sIndent}[Number] -- Number of clients{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getClientCountForInfo_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getClientCountForInfo_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getClientCountForInfo_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getClientCountForInfo_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getClientCountForInfo_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getClientCountForInfo_sam|trigger=none}{code:language=javascript}
var count = application.getClientCountForInfo('SaaS company name');
application.output('Including yourself, there are ' + count + ' client(s) running on behalf of the company.');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getClipboardString|class=node}{tr:id=name}{td}h6.getClipboardString{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getClipboardString{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getClipboardString_des|text=|trigger=button}{sub-section}{sub-section:getClipboardString_des|trigger=none|class=sIndent}Gets a string from the clipboard, null if not a string or empty.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getClipboardString_snc|text=|trigger=button}{sub-section}{sub-section:getClipboardString_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getClipboardString_prs|text=|trigger=button}{sub-section}{sub-section:getClipboardString_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getClipboardString_ret|text=|trigger=button}{sub-section}{sub-section:getClipboardString_ret|trigger=none|class=sIndent}[String] -- The string from the clipboard{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getClipboardString_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getClipboardString_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getClipboardString_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getClipboardString_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getClipboardString_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getClipboardString_sam|trigger=none}{code:language=javascript}
var fromClipboard = application.getClipboardString();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getCurrentLookAndFeelName|class=node}{tr:id=name}{td}h6.getCurrentLookAndFeelName{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getCurrentLookAndFeelName{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getCurrentLookAndFeelName_des|text=|trigger=button}{sub-section}{sub-section:getCurrentLookAndFeelName_des|trigger=none|class=sIndent}Gets the name of the current Look And Feel specified in Application Preferences.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getCurrentLookAndFeelName_snc|text=|trigger=button}{sub-section}{sub-section:getCurrentLookAndFeelName_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getCurrentLookAndFeelName_prs|text=|trigger=button}{sub-section}{sub-section:getCurrentLookAndFeelName_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getCurrentLookAndFeelName_ret|text=|trigger=button}{sub-section}{sub-section:getCurrentLookAndFeelName_ret|trigger=none|class=sIndent}[String] -- Current Look And Feel{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getCurrentLookAndFeelName_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getCurrentLookAndFeelName_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getCurrentLookAndFeelName_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getCurrentLookAndFeelName_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getCurrentLookAndFeelName_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getCurrentLookAndFeelName_sam|trigger=none}{code:language=javascript}
var laf = application.getCurrentLookAndFeelName();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getHostName|class=node}{tr:id=name}{td}h6.getHostName{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getHostName{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getHostName_des|text=|trigger=button}{sub-section}{sub-section:getHostName_des|trigger=none|class=sIndent}Get the name of the localhost.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getHostName_snc|text=|trigger=button}{sub-section}{sub-section:getHostName_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getHostName_prs|text=|trigger=button}{sub-section}{sub-section:getHostName_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getHostName_ret|text=|trigger=button}{sub-section}{sub-section:getHostName_ret|trigger=none|class=sIndent}[String] -- Name of the localhost{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getHostName_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getHostName_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getHostName_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getHostName_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getHostName_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getHostName_sam|trigger=none}{code:language=javascript}
var hostName = application.getHostName();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getIPAddress|class=node}{tr:id=name}{td}h6.getIPAddress{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getIPAddress{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getIPAddress_des|text=|trigger=button}{sub-section}{sub-section:getIPAddress_des|trigger=none|class=sIndent}Get the clients' IP address.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getIPAddress_snc|text=|trigger=button}{sub-section}{sub-section:getIPAddress_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getIPAddress_prs|text=|trigger=button}{sub-section}{sub-section:getIPAddress_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getIPAddress_ret|text=|trigger=button}{sub-section}{sub-section:getIPAddress_ret|trigger=none|class=sIndent}[String] -- IP address of the client{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getIPAddress_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getIPAddress_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getIPAddress_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getIPAddress_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getIPAddress_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getIPAddress_sam|trigger=none}{code:language=javascript}
var ip = application.getIPAddress();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getLicenseNames|class=node}{tr:id=name}{td}h6.getLicenseNames{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]\[]{span}{span:id=iets|style=float: left; font-weight: bold;}getLicenseNames{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getLicenseNames_des|text=|trigger=button}{sub-section}{sub-section:getLicenseNames_des|trigger=none|class=sIndent}Get the names of the used client licenses (as strings in array).{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getLicenseNames_snc|text=|trigger=button}{sub-section}{sub-section:getLicenseNames_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getLicenseNames_prs|text=|trigger=button}{sub-section}{sub-section:getLicenseNames_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getLicenseNames_ret|text=|trigger=button}{sub-section}{sub-section:getLicenseNames_ret|trigger=none|class=sIndent}[String]\[] -- Client licenses names{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getLicenseNames_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getLicenseNames_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getLicenseNames_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getLicenseNames_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getLicenseNames_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getLicenseNames_sam|trigger=none}{code:language=javascript}
var array = application.getLicenseNames();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getOSName|class=node}{tr:id=name}{td}h6.getOSName{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getOSName{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getOSName_des|text=|trigger=button}{sub-section}{sub-section:getOSName_des|trigger=none|class=sIndent}Returns the name of the operating system.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getOSName_snc|text=|trigger=button}{sub-section}{sub-section:getOSName_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getOSName_prs|text=|trigger=button}{sub-section}{sub-section:getOSName_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getOSName_ret|text=|trigger=button}{sub-section}{sub-section:getOSName_ret|trigger=none|class=sIndent}[String] -- Name of the operating system{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getOSName_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getOSName_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getOSName_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getOSName_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getOSName_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getOSName_sam|trigger=none}{code:language=javascript}
var osname = application.getOSName();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getPrinters|class=node}{tr:id=name}{td}h6.getPrinters{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]\[]{span}{span:id=iets|style=float: left; font-weight: bold;}getPrinters{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getPrinters_des|text=|trigger=button}{sub-section}{sub-section:getPrinters_des|trigger=none|class=sIndent}Get all the printer names in an array.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getPrinters_snc|text=|trigger=button}{sub-section}{sub-section:getPrinters_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getPrinters_prs|text=|trigger=button}{sub-section}{sub-section:getPrinters_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getPrinters_ret|text=|trigger=button}{sub-section}{sub-section:getPrinters_ret|trigger=none|class=sIndent}[String]\[] -- All printer names{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getPrinters_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getPrinters_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getPrinters_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getPrinters_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getPrinters_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getPrinters_sam|trigger=none}{code:language=javascript}
var printersArray = application.getPrinters();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getScreenHeight|class=node}{tr:id=name}{td}h6.getScreenHeight{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getScreenHeight{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getScreenHeight_des|text=|trigger=button}{sub-section}{sub-section:getScreenHeight_des|trigger=none|class=sIndent}Get the screen height in pixels.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getScreenHeight_snc|text=|trigger=button}{sub-section}{sub-section:getScreenHeight_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getScreenHeight_prs|text=|trigger=button}{sub-section}{sub-section:getScreenHeight_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getScreenHeight_ret|text=|trigger=button}{sub-section}{sub-section:getScreenHeight_ret|trigger=none|class=sIndent}[Number] -- Screen height{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getScreenHeight_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getScreenHeight_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getScreenHeight_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getScreenHeight_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getScreenHeight_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getScreenHeight_sam|trigger=none}{code:language=javascript}
var height = application.getScreenHeight();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getScreenWidth|class=node}{tr:id=name}{td}h6.getScreenWidth{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getScreenWidth{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getScreenWidth_des|text=|trigger=button}{sub-section}{sub-section:getScreenWidth_des|trigger=none|class=sIndent}Get the screen width in pixels.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getScreenWidth_snc|text=|trigger=button}{sub-section}{sub-section:getScreenWidth_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getScreenWidth_prs|text=|trigger=button}{sub-section}{sub-section:getScreenWidth_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getScreenWidth_ret|text=|trigger=button}{sub-section}{sub-section:getScreenWidth_ret|trigger=none|class=sIndent}[Number] -- Screen width{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getScreenWidth_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getScreenWidth_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getScreenWidth_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getScreenWidth_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getScreenWidth_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getScreenWidth_sam|trigger=none}{code:language=javascript}
var width = application.getScreenWidth();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getServerTimeStamp|class=node}{tr:id=name}{td}h6.getServerTimeStamp{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Date]{span}{span:id=iets|style=float: left; font-weight: bold;}getServerTimeStamp{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getServerTimeStamp_des|text=|trigger=button}{sub-section}{sub-section:getServerTimeStamp_des|trigger=none|class=sIndent}Returns a date object initialized on server with current date and time.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getServerTimeStamp_snc|text=|trigger=button}{sub-section}{sub-section:getServerTimeStamp_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getServerTimeStamp_prs|text=|trigger=button}{sub-section}{sub-section:getServerTimeStamp_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getServerTimeStamp_ret|text=|trigger=button}{sub-section}{sub-section:getServerTimeStamp_ret|trigger=none|class=sIndent}[Date] -- Server time{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getServerTimeStamp_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getServerTimeStamp_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getServerTimeStamp_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getServerTimeStamp_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getServerTimeStamp_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getServerTimeStamp_sam|trigger=none}{code:language=javascript}
var servertime = application.getServerTimeStamp();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getServerURL|class=node}{tr:id=name}{td}h6.getServerURL{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getServerURL{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getServerURL_des|text=|trigger=button}{sub-section}{sub-section:getServerURL_des|trigger=none|class=sIndent}Gets the HTTP server url.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getServerURL_snc|text=|trigger=button}{sub-section}{sub-section:getServerURL_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getServerURL_prs|text=|trigger=button}{sub-section}{sub-section:getServerURL_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getServerURL_ret|text=|trigger=button}{sub-section}{sub-section:getServerURL_ret|trigger=none|class=sIndent}[String] -- HTTP server URL{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getServerURL_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getServerURL_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getServerURL_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getServerURL_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getServerURL_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getServerURL_sam|trigger=none}{code:language=javascript}
var url = application.getServerURL();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getSolutionName|class=node}{tr:id=name}{td}h6.getSolutionName{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getSolutionName{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getSolutionName_des|text=|trigger=button}{sub-section}{sub-section:getSolutionName_des|trigger=none|class=sIndent}Returns the name of the current solution.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getSolutionName_snc|text=|trigger=button}{sub-section}{sub-section:getSolutionName_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getSolutionName_prs|text=|trigger=button}{sub-section}{sub-section:getSolutionName_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getSolutionName_ret|text=|trigger=button}{sub-section}{sub-section:getSolutionName_ret|trigger=none|class=sIndent}[String] -- Current solution name{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getSolutionName_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getSolutionName_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getSolutionName_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getSolutionName_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getSolutionName_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getSolutionName_sam|trigger=none}{code:language=javascript}
var solutionName = application.getSolutionName();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getSolutionRelease|class=node}{tr:id=name}{td}h6.getSolutionRelease{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getSolutionRelease{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getSolutionRelease_des|text=|trigger=button}{sub-section}{sub-section:getSolutionRelease_des|trigger=none|class=sIndent}Get the solution release number.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getSolutionRelease_snc|text=|trigger=button}{sub-section}{sub-section:getSolutionRelease_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getSolutionRelease_prs|text=|trigger=button}{sub-section}{sub-section:getSolutionRelease_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getSolutionRelease_ret|text=|trigger=button}{sub-section}{sub-section:getSolutionRelease_ret|trigger=none|class=sIndent}[Number] -- Current solution release number{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getSolutionRelease_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getSolutionRelease_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getSolutionRelease_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getSolutionRelease_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getSolutionRelease_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getSolutionRelease_sam|trigger=none}{code:language=javascript}
var release = application.getSolutionRelease();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getStartupArguments|class=node}{tr:id=name}{td}h6.getStartupArguments{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Object]\[]{span}{span:id=iets|style=float: left; font-weight: bold;}getStartupArguments{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getStartupArguments_des|text=|trigger=button}{sub-section}{sub-section:getStartupArguments_des|trigger=none|class=sIndent}Get the parameters which are provided by startup.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getStartupArguments_snc|text=|trigger=button}{sub-section}{sub-section:getStartupArguments_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getStartupArguments_prs|text=|trigger=button}{sub-section}{sub-section:getStartupArguments_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getStartupArguments_ret|text=|trigger=button}{sub-section}{sub-section:getStartupArguments_ret|trigger=none|class=sIndent}[Object]\[] -- Array with 2 elements, the startup argument and an object containing all startup arguments, or
 null if there is no argument passed{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getStartupArguments_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getStartupArguments_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getStartupArguments_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getStartupArguments_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getStartupArguments_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getStartupArguments_sam|trigger=none}{code:language=javascript}
var args_array = application.getStartupArguments();
// the first element in the array is the 'argument' value from the startup
var argument = args_array[0];
// the second element is an object containing all the startup arguments
var startupArgumentObj = args_array[1];
var arg1 = startupArgumentObj.arg1_name;
var arg2 = startupArgumentObj.arg2_name;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getTimeStamp|class=node}{tr:id=name}{td}h6.getTimeStamp{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Date]{span}{span:id=iets|style=float: left; font-weight: bold;}getTimeStamp{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getTimeStamp_des|text=|trigger=button}{sub-section}{sub-section:getTimeStamp_des|trigger=none|class=sIndent}Returns a date object initialized in client with current date and time.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getTimeStamp_snc|text=|trigger=button}{sub-section}{sub-section:getTimeStamp_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getTimeStamp_prs|text=|trigger=button}{sub-section}{sub-section:getTimeStamp_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getTimeStamp_ret|text=|trigger=button}{sub-section}{sub-section:getTimeStamp_ret|trigger=none|class=sIndent}[Date] -- Current time at the client{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getTimeStamp_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getTimeStamp_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getTimeStamp_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getTimeStamp_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getTimeStamp_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getTimeStamp_sam|trigger=none}{code:language=javascript}
var clienttime = application.getTimeStamp();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getUUID|class=node}{tr:id=name}{td}h6.getUUID{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[UUID]{span}{span:id=iets|style=float: left; font-weight: bold;}getUUID{span}{span:id=iets|style=float: left;}\(\[uuidStringOrByteArray\]){span}{td}{tr}{tr:id=des}{td}{sub-section:getUUID_des|text=|trigger=button}{sub-section}{sub-section:getUUID_des|trigger=none|class=sIndent}Get a new UUID object (also known as GUID) or convert the parameter (that can be string or byte array) to an UUID object. A table column marked as UUID will work with such objects.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getUUID_snc|text=|trigger=button}{sub-section}{sub-section:getUUID_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:getUUID_prs|text=|trigger=button}{sub-section}{sub-section:getUUID_prs|trigger=none|class=sIndent}\[uuidStringOrByteArray\] -- String or byte array representing an uuid
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:getUUID_ret|text=|trigger=button}{sub-section}{sub-section:getUUID_ret|trigger=none|class=sIndent}[UUID] -- The new UUID object{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getUUID_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getUUID_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getUUID_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getUUID_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getUUID_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getUUID_sam|trigger=none}{code:language=javascript}
var new_uuid_object = application.getUUID(); // generate new uuid object
var uuid_object1 = application.getUUID(new_uuid_object.toString()); // convert a string representing an uuid to an uuid object
var uuid_object2 = application.getUUID(new_uuid_object.toBytes());  // convert a byte array representing an uuid to an uuid object
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getUserProperty|class=node}{tr:id=name}{td}h6.getUserProperty{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getUserProperty{span}{span:id=iets|style=float: left;}\(name){span}{td}{tr}{tr:id=des}{td}{sub-section:getUserProperty_des|text=|trigger=button}{sub-section}{sub-section:getUserProperty_des|trigger=none|class=sIndent}Get a persistent user property.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getUserProperty_snc|text=|trigger=button}{sub-section}{sub-section:getUserProperty_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:getUserProperty_prs|text=|trigger=button}{sub-section}{sub-section:getUserProperty_prs|trigger=none|class=sIndent}\{[String]} name -- Name of the property
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:getUserProperty_ret|text=|trigger=button}{sub-section}{sub-section:getUserProperty_ret|trigger=none|class=sIndent}[String] -- Property value{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getUserProperty_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getUserProperty_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getUserProperty_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getUserProperty_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getUserProperty_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getUserProperty_sam|trigger=none}{code:language=javascript}
var value = application.getUserProperty('showOrders');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getUserPropertyNames|class=node}{tr:id=name}{td}h6.getUserPropertyNames{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]\[]{span}{span:id=iets|style=float: left; font-weight: bold;}getUserPropertyNames{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getUserPropertyNames_des|text=|trigger=button}{sub-section}{sub-section:getUserPropertyNames_des|trigger=none|class=sIndent}Get all persistent user property names.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getUserPropertyNames_snc|text=|trigger=button}{sub-section}{sub-section:getUserPropertyNames_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getUserPropertyNames_prs|text=|trigger=button}{sub-section}{sub-section:getUserPropertyNames_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getUserPropertyNames_ret|text=|trigger=button}{sub-section}{sub-section:getUserPropertyNames_ret|trigger=none|class=sIndent}[String]\[] -- Array of all user property names{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getUserPropertyNames_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getUserPropertyNames_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getUserPropertyNames_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getUserPropertyNames_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getUserPropertyNames_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getUserPropertyNames_sam|trigger=none}{code:language=javascript}
// display all user properties
allPropertyNames = application.getUserPropertyNames();
for(var i = 0; i < allPropertyNames.length; i++)
		application.output(allPropertyNames[i] + " = " + application.getUserProperty(allPropertyNames[i]));
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getValueListArray|class=node}{tr:id=name}{td}h6.getValueListArray{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Array]{span}{span:id=iets|style=float: left; font-weight: bold;}getValueListArray{span}{span:id=iets|style=float: left;}\(name){span}{td}{tr}{tr:id=des}{td}{sub-section:getValueListArray_des|text=|trigger=button}{sub-section}{sub-section:getValueListArray_des|trigger=none|class=sIndent}Retrieve a valuelist as array, to get real\-values for display\-values.
NOTE: this doesn't return a value for a valuelist that depends on a database relation or is a global method valuelist.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getValueListArray_snc|text=|trigger=button}{sub-section}{sub-section:getValueListArray_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:getValueListArray_prs|text=|trigger=button}{sub-section}{sub-section:getValueListArray_prs|trigger=none|class=sIndent}\{[String]} name -- The name of the valuelist
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:getValueListArray_ret|text=|trigger=button}{sub-section}{sub-section:getValueListArray_ret|trigger=none|class=sIndent}[Array] -- Named array for the valuelist{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getValueListArray_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getValueListArray_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getValueListArray_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getValueListArray_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getValueListArray_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getValueListArray_sam|trigger=none}{code:language=javascript}
var packet_types = application.getValueListArray('packet_types');
if (a_realValue == packet_types['displayValue'])
{
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getValueListDisplayValue|class=node}{tr:id=name}{td}h6.getValueListDisplayValue{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Object]{span}{span:id=iets|style=float: left; font-weight: bold;}getValueListDisplayValue{span}{span:id=iets|style=float: left;}\(name, realValue){span}{td}{tr}{tr:id=des}{td}{sub-section:getValueListDisplayValue_des|text=|trigger=button}{sub-section}{sub-section:getValueListDisplayValue_des|trigger=none|class=sIndent}Retrieve a valuelist display\-value for a real\-value.
NOTE: this doesn't return a value for a valuelist that depends on a database relation or is a global method valuelist.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getValueListDisplayValue_snc|text=|trigger=button}{sub-section}{sub-section:getValueListDisplayValue_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:getValueListDisplayValue_prs|text=|trigger=button}{sub-section}{sub-section:getValueListDisplayValue_prs|trigger=none|class=sIndent}\{[String]} name -- Name of the valuelist
\{[Object]} realValue -- Real value of the valuelist
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:getValueListDisplayValue_ret|text=|trigger=button}{sub-section}{sub-section:getValueListDisplayValue_ret|trigger=none|class=sIndent}[Object] -- Display value of the real value from the valuelist{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getValueListDisplayValue_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getValueListDisplayValue_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getValueListDisplayValue_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getValueListDisplayValue_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getValueListDisplayValue_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getValueListDisplayValue_sam|trigger=none}{code:language=javascript}
var displayable_status = application.getValueListDisplayValue('case_status',status);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getValueListItems|class=node}{tr:id=name}{td}h6.getValueListItems{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSDataSet]{span}{span:id=iets|style=float: left; font-weight: bold;}getValueListItems{span}{span:id=iets|style=float: left;}\(name){span}{td}{tr}{tr:id=des}{td}{sub-section:getValueListItems_des|text=|trigger=button}{sub-section}{sub-section:getValueListItems_des|trigger=none|class=sIndent}Get all values from a custom or database type value list as dataset (with columns displayValue,realValue).
NOTE: this doesn't return a value for a valuelist that depends on a database relation or is a global method valuelist.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getValueListItems_snc|text=|trigger=button}{sub-section}{sub-section:getValueListItems_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:getValueListItems_prs|text=|trigger=button}{sub-section}{sub-section:getValueListItems_prs|trigger=none|class=sIndent}\{[String]} name -- Name of the valuelist
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:getValueListItems_ret|text=|trigger=button}{sub-section}{sub-section:getValueListItems_ret|trigger=none|class=sIndent}[JSDataSet] -- DataSet with valuelist's display values and real values{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getValueListItems_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getValueListItems_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getValueListItems_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getValueListItems_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getValueListItems_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getValueListItems_sam|trigger=none}{code:language=javascript}
//Note:see databaseManager.JSDataSet for full details of dataset
var dataset = application.getValueListItems('my_en_types');
//example to calc a strange total
global_total = 0;
for( var i = 1 ; i <= dataset.getMaxRowIndex() ; i++ )
{
		global_total = global_total + dataset.getValue(i,1);
}
//example to assign to dataprovider
//employee_salary = dataset.getValue(1,1)
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getValueListNames|class=node}{tr:id=name}{td}h6.getValueListNames{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]\[]{span}{span:id=iets|style=float: left; font-weight: bold;}getValueListNames{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getValueListNames_des|text=|trigger=button}{sub-section}{sub-section:getValueListNames_des|trigger=none|class=sIndent}Get all the valuelist names as array.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getValueListNames_snc|text=|trigger=button}{sub-section}{sub-section:getValueListNames_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getValueListNames_prs|text=|trigger=button}{sub-section}{sub-section:getValueListNames_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getValueListNames_ret|text=|trigger=button}{sub-section}{sub-section:getValueListNames_ret|trigger=none|class=sIndent}[String]\[] -- Array with all valuelist names{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getValueListNames_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getValueListNames_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getValueListNames_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getValueListNames_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getValueListNames_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getValueListNames_sam|trigger=none}{code:language=javascript}
var array = application.getValueListNames();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getVersion|class=node}{tr:id=name}{td}h6.getVersion{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getVersion{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getVersion_des|text=|trigger=button}{sub-section}{sub-section:getVersion_des|trigger=none|class=sIndent}Returns the application version.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getVersion_snc|text=|trigger=button}{sub-section}{sub-section:getVersion_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getVersion_prs|text=|trigger=button}{sub-section}{sub-section:getVersion_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getVersion_ret|text=|trigger=button}{sub-section}{sub-section:getVersion_ret|trigger=none|class=sIndent}[String] -- Application version{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getVersion_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getVersion_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getVersion_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getVersion_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getVersion_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getVersion_sam|trigger=none}{code:language=javascript}
application.getVersion();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getWindowHeight|class=node}{tr:id=name}{td}h6.getWindowHeight{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getWindowHeight{span}{span:id=iets|style=float: left;}\(\[windowName\]){span}{td}{tr}{tr:id=des}{td}{sub-section:getWindowHeight_des|text=|trigger=button}{sub-section}{sub-section:getWindowHeight_des|trigger=none|class=sIndent}Get the window height in pixels. If windowName is not specified or null, it will use either the default dialog (if it is shown) or the main application window.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getWindowHeight_snc|text=|trigger=button}{sub-section}{sub-section:getWindowHeight_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:getWindowHeight_prs|text=|trigger=button}{sub-section}{sub-section:getWindowHeight_prs|trigger=none|class=sIndent}\[windowName\] -- Name of the window
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:getWindowHeight_ret|text=|trigger=button}{sub-section}{sub-section:getWindowHeight_ret|trigger=none|class=sIndent}[Number] -- Window height{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getWindowHeight_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getWindowHeight_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getWindowHeight_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getWindowHeight_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getWindowHeight_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getWindowHeight_sam|trigger=none}{code:language=javascript}
var height = application.getWindowHeight('customerDialog');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getWindowWidth|class=node}{tr:id=name}{td}h6.getWindowWidth{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getWindowWidth{span}{span:id=iets|style=float: left;}\(\[windowName\]){span}{td}{tr}{tr:id=des}{td}{sub-section:getWindowWidth_des|text=|trigger=button}{sub-section}{sub-section:getWindowWidth_des|trigger=none|class=sIndent}Get the window width in pixels. If windowName is not specified or null, it will use either the default dialog (if it is shown) or the main application window.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getWindowWidth_snc|text=|trigger=button}{sub-section}{sub-section:getWindowWidth_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:getWindowWidth_prs|text=|trigger=button}{sub-section}{sub-section:getWindowWidth_prs|trigger=none|class=sIndent}\[windowName\] -- Name of the window
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:getWindowWidth_ret|text=|trigger=button}{sub-section}{sub-section:getWindowWidth_ret|trigger=none|class=sIndent}[Number] -- Window width{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getWindowWidth_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getWindowWidth_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getWindowWidth_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getWindowWidth_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getWindowWidth_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getWindowWidth_sam|trigger=none}{code:language=javascript}
var width = application.getWindowWidth('customerDialog');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getWindowX|class=node}{tr:id=name}{td}h6.getWindowX{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getWindowX{span}{span:id=iets|style=float: left;}\(\[windowName\]){span}{td}{tr}{tr:id=des}{td}{sub-section:getWindowX_des|text=|trigger=button}{sub-section}{sub-section:getWindowX_des|trigger=none|class=sIndent}Get the window X location in pixels. If windowName is not specified or null, it will use either the default dialog (if it is shown) or the main application window.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getWindowX_snc|text=|trigger=button}{sub-section}{sub-section:getWindowX_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:getWindowX_prs|text=|trigger=button}{sub-section}{sub-section:getWindowX_prs|trigger=none|class=sIndent}\[windowName\] -- Window name
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:getWindowX_ret|text=|trigger=button}{sub-section}{sub-section:getWindowX_ret|trigger=none|class=sIndent}[Number] -- Window X location{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getWindowX_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getWindowX_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getWindowX_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getWindowX_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getWindowX_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getWindowX_sam|trigger=none}{code:language=javascript}
var x = application.getWindowX('customerDialog');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getWindowY|class=node}{tr:id=name}{td}h6.getWindowY{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getWindowY{span}{span:id=iets|style=float: left;}\(\[windowName\]){span}{td}{tr}{tr:id=des}{td}{sub-section:getWindowY_des|text=|trigger=button}{sub-section}{sub-section:getWindowY_des|trigger=none|class=sIndent}Get the window Y location in pixels. If windowName is not specified or null, it will use either the default dialog (if it is shown) or the main application window.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getWindowY_snc|text=|trigger=button}{sub-section}{sub-section:getWindowY_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:getWindowY_prs|text=|trigger=button}{sub-section}{sub-section:getWindowY_prs|trigger=none|class=sIndent}\[windowName\] -- Name of the window
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:getWindowY_ret|text=|trigger=button}{sub-section}{sub-section:getWindowY_ret|trigger=none|class=sIndent}[Number] -- Window Y location{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getWindowY_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getWindowY_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getWindowY_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getWindowY_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getWindowY_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getWindowY_sam|trigger=none}{code:language=javascript}
var y = application.getWindowY('customerDialog');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=isInDeveloper|class=node}{tr:id=name}{td}h6.isInDeveloper{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}isInDeveloper{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:isInDeveloper_des|text=|trigger=button}{sub-section}{sub-section:isInDeveloper_des|trigger=none|class=sIndent}Returns true if the solution is running in the developer.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:isInDeveloper_snc|text=|trigger=button}{sub-section}{sub-section:isInDeveloper_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:isInDeveloper_prs|text=|trigger=button}{sub-section}{sub-section:isInDeveloper_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:isInDeveloper_ret|text=|trigger=button}{sub-section}{sub-section:isInDeveloper_ret|trigger=none|class=sIndent}[Boolean] -- Boolean (true) if the solution is running in the developer, (false) otherwise{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:isInDeveloper_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:isInDeveloper_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:isInDeveloper_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:isInDeveloper_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:isInDeveloper_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:isInDeveloper_sam|trigger=none}{code:language=javascript}
var flag = application.isInDeveloper();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=isLastPrintPreviewPrinted|class=node}{tr:id=name}{td}h6.isLastPrintPreviewPrinted{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}isLastPrintPreviewPrinted{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:isLastPrintPreviewPrinted_des|text=|trigger=button}{sub-section}{sub-section:isLastPrintPreviewPrinted_des|trigger=none|class=sIndent}Check if the last printpreview did print.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:isLastPrintPreviewPrinted_snc|text=|trigger=button}{sub-section}{sub-section:isLastPrintPreviewPrinted_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:isLastPrintPreviewPrinted_prs|text=|trigger=button}{sub-section}{sub-section:isLastPrintPreviewPrinted_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:isLastPrintPreviewPrinted_ret|text=|trigger=button}{sub-section}{sub-section:isLastPrintPreviewPrinted_ret|trigger=none|class=sIndent}[Boolean] -- Boolean (true) is the last print preview did print, (false) otherwise{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:isLastPrintPreviewPrinted_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:isLastPrintPreviewPrinted_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:isLastPrintPreviewPrinted_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:isLastPrintPreviewPrinted_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:isLastPrintPreviewPrinted_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:isLastPrintPreviewPrinted_sam|trigger=none}{code:language=javascript}
//attached this method to onShow on the form being shown after printpreview
//set a global called globals.showPrintPreview to 1 in the onPrintPreview method
if (globals.showPrintPreview == 1)
{
globals.showPrintPreview = 0;//clear for next time
	if (application.isLastPrintPreviewPrinted())
	{
		plugins.dialogs.showInfoDialog('Alert',  'There is printed in printpreview',  'OK')
	}
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=output|class=node}{tr:id=name}{td}h6.output{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}output{span}{span:id=iets|style=float: left;}\(msg, \[level\]){span}{td}{tr}{tr:id=des}{td}{sub-section:output_des|text=|trigger=button}{sub-section}{sub-section:output_des|trigger=none|class=sIndent}Output something on the out stream. (if running in debugger view output console tab){sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:output_snc|text=|trigger=button}{sub-section}{sub-section:output_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:output_prs|text=|trigger=button}{sub-section}{sub-section:output_prs|trigger=none|class=sIndent}\{[Object]} msg -- Object to send to output stream
\{[Number]} \[level\] -- the log level where it should log to.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:output_ret|text=|trigger=button}{sub-section}{sub-section:output_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:output_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:output_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:output_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:output_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:output_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:output_sam|trigger=none}{code:language=javascript}
// log level is used to determine how/if to log in servoy_log.txt; for smart client java out and err streams are used
application.output('my very important trace msg');// default log level: info
application.output('my very important msg',LOGGINGLEVEL.LOGLEVEL_ERROR);// log level: error
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=overrideStyle|class=node}{tr:id=name}{td}h6.overrideStyle{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}overrideStyle{span}{span:id=iets|style=float: left;}\(originalStyleName, newStyleName){span}{td}{tr}{tr:id=des}{td}{sub-section:overrideStyle_des|text=|trigger=button}{sub-section}{sub-section:overrideStyle_des|trigger=none|class=sIndent}Overrides one style (defined in in a form) with another.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:overrideStyle_snc|text=|trigger=button}{sub-section}{sub-section:overrideStyle_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:overrideStyle_prs|text=|trigger=button}{sub-section}{sub-section:overrideStyle_prs|trigger=none|class=sIndent}\{[String]} originalStyleName -- Name of the style to override
\{[String]} newStyleName -- Name of the new style
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:overrideStyle_ret|text=|trigger=button}{sub-section}{sub-section:overrideStyle_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:overrideStyle_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:overrideStyle_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:overrideStyle_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:overrideStyle_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:overrideStyle_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:overrideStyle_sam|trigger=none}{code:language=javascript}
//This function will only have effect on  forms not yet created, so solution onLoad is the best place to override'
//For example overriding the use of default/designed style anywhere in the solution from 'mystyle' to 'mystyle_mac'
application.overrideStyle('mystyle','mystyle_mace')//in this case both styles should have about the same classes
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=playSound|class=node}{tr:id=name}{td}h6.playSound{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}playSound{span}{span:id=iets|style=float: left;}\(url){span}{td}{tr}{tr:id=des}{td}{sub-section:playSound_des|text=|trigger=button}{sub-section}{sub-section:playSound_des|trigger=none|class=sIndent}Play a sound (AU file, an AIFF file, a WAV file, and a MIDI file).{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:playSound_snc|text=|trigger=button}{sub-section}{sub-section:playSound_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:playSound_prs|text=|trigger=button}{sub-section}{sub-section:playSound_prs|trigger=none|class=sIndent}\{[String]} url -- URL of the sound file
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:playSound_ret|text=|trigger=button}{sub-section}{sub-section:playSound_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:playSound_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:playSound_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:playSound_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:playSound_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:playSound_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:playSound_sam|trigger=none}{code:language=javascript}
application.playSound('media:///click.wav');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=redo|class=node}{tr:id=name}{td}h6.redo{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}redo{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:redo_des|text=|trigger=button}{sub-section}{sub-section:redo_des|trigger=none|class=sIndent}Redo last action (if possible).{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:redo_snc|text=|trigger=button}{sub-section}{sub-section:redo_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:redo_prs|text=|trigger=button}{sub-section}{sub-section:redo_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:redo_ret|text=|trigger=button}{sub-section}{sub-section:redo_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:redo_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:redo_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:redo_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:redo_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:redo_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:redo_sam|trigger=none}{code:language=javascript}
application.redo();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=removeAllClientInfo|class=node}{tr:id=name}{td}h6.removeAllClientInfo{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}removeAllClientInfo{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:removeAllClientInfo_des|text=|trigger=button}{sub-section}{sub-section:removeAllClientInfo_des|trigger=none|class=sIndent}Removes all names given to the client via the admin page.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:removeAllClientInfo_snc|text=|trigger=button}{sub-section}{sub-section:removeAllClientInfo_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:removeAllClientInfo_prs|text=|trigger=button}{sub-section}{sub-section:removeAllClientInfo_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:removeAllClientInfo_ret|text=|trigger=button}{sub-section}{sub-section:removeAllClientInfo_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:removeAllClientInfo_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:removeAllClientInfo_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:removeAllClientInfo_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:removeAllClientInfo_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:removeAllClientInfo_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:removeAllClientInfo_sam|trigger=none}{code:language=javascript}
application.removeAllClientInfo();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setClipboardContent|class=node}{tr:id=name}{td}h6.setClipboardContent{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setClipboardContent{span}{span:id=iets|style=float: left;}\(string){span}{td}{tr}{tr:id=des}{td}{sub-section:setClipboardContent_des|text=|trigger=button}{sub-section}{sub-section:setClipboardContent_des|trigger=none|class=sIndent}Sets a string object in the clipboard.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setClipboardContent_snc|text=|trigger=button}{sub-section}{sub-section:setClipboardContent_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setClipboardContent_prs|text=|trigger=button}{sub-section}{sub-section:setClipboardContent_prs|trigger=none|class=sIndent}\{[Object]} string -- New content of the clipboard
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setClipboardContent_ret|text=|trigger=button}{sub-section}{sub-section:setClipboardContent_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setClipboardContent_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setClipboardContent_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setClipboardContent_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setClipboardContent_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setClipboardContent_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setClipboardContent_sam|trigger=none}{code:language=javascript}
application.setClipboardContent('test');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setNumpadEnterAsFocusNextEnabled|class=node}{tr:id=name}{td}h6.setNumpadEnterAsFocusNextEnabled{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setNumpadEnterAsFocusNextEnabled{span}{span:id=iets|style=float: left;}\(enabled){span}{td}{tr}{tr:id=des}{td}{sub-section:setNumpadEnterAsFocusNextEnabled_des|text=|trigger=button}{sub-section}{sub-section:setNumpadEnterAsFocusNextEnabled_des|trigger=none|class=sIndent}Set if numpad enter should behave like focus next.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setNumpadEnterAsFocusNextEnabled_snc|text=|trigger=button}{sub-section}{sub-section:setNumpadEnterAsFocusNextEnabled_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setNumpadEnterAsFocusNextEnabled_prs|text=|trigger=button}{sub-section}{sub-section:setNumpadEnterAsFocusNextEnabled_prs|trigger=none|class=sIndent}\{[Boolean]} enabled -- Boolean (true) if numpad enter should behave like focus next
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setNumpadEnterAsFocusNextEnabled_ret|text=|trigger=button}{sub-section}{sub-section:setNumpadEnterAsFocusNextEnabled_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setNumpadEnterAsFocusNextEnabled_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setNumpadEnterAsFocusNextEnabled_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setNumpadEnterAsFocusNextEnabled_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setNumpadEnterAsFocusNextEnabled_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setNumpadEnterAsFocusNextEnabled_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setNumpadEnterAsFocusNextEnabled_sam|trigger=none}{code:language=javascript}
application.setNumpadEnterAsFocusNextEnabled(true);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setStatusText|class=node}{tr:id=name}{td}h6.setStatusText{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setStatusText{span}{span:id=iets|style=float: left;}\(text, \[tip\]){span}{td}{tr}{tr:id=des}{td}{sub-section:setStatusText_des|text=|trigger=button}{sub-section}{sub-section:setStatusText_des|trigger=none|class=sIndent}Set the status area value.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setStatusText_snc|text=|trigger=button}{sub-section}{sub-section:setStatusText_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setStatusText_prs|text=|trigger=button}{sub-section}{sub-section:setStatusText_prs|trigger=none|class=sIndent}text -- New status text
\[tip\] -- Status tooltip text
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setStatusText_ret|text=|trigger=button}{sub-section}{sub-section:setStatusText_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setStatusText_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setStatusText_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setStatusText_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setStatusText_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setStatusText_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setStatusText_sam|trigger=none}{code:language=javascript}
application.setStatusText('Your status text');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setToolbarVisible|class=node}{tr:id=name}{td}h6.setToolbarVisible{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setToolbarVisible{span}{span:id=iets|style=float: left;}\(name, visible){span}{td}{tr}{tr:id=des}{td}{sub-section:setToolbarVisible_des|text=|trigger=button}{sub-section}{sub-section:setToolbarVisible_des|trigger=none|class=sIndent}Make a toolbar visible or invisible.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setToolbarVisible_snc|text=|trigger=button}{sub-section}{sub-section:setToolbarVisible_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setToolbarVisible_prs|text=|trigger=button}{sub-section}{sub-section:setToolbarVisible_prs|trigger=none|class=sIndent}\{[String]} name -- Name of the toolbar
\{[Boolean]} visible -- Visibility of the toolbar
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setToolbarVisible_ret|text=|trigger=button}{sub-section}{sub-section:setToolbarVisible_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setToolbarVisible_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setToolbarVisible_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setToolbarVisible_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setToolbarVisible_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setToolbarVisible_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setToolbarVisible_sam|trigger=none}{code:language=javascript}
//example: hide the text toolbar
application.setToolbarVisible('text',false);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setUIProperty|class=node}{tr:id=name}{td}h6.setUIProperty{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}setUIProperty{span}{span:id=iets|style=float: left;}\(name, value){span}{td}{tr}{tr:id=des}{td}{sub-section:setUIProperty_des|text=|trigger=button}{sub-section}{sub-section:setUIProperty_des|trigger=none|class=sIndent}Sets a UI property.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setUIProperty_snc|text=|trigger=button}{sub-section}{sub-section:setUIProperty_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setUIProperty_prs|text=|trigger=button}{sub-section}{sub-section:setUIProperty_prs|trigger=none|class=sIndent}\{[Object]} name -- Name of the UI property
\{[Object]} value -- New value of the UI property
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setUIProperty_ret|text=|trigger=button}{sub-section}{sub-section:setUIProperty_ret|trigger=none|class=sIndent}[Boolean] -- Boolean (true) if the UI property was set with the new value{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setUIProperty_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setUIProperty_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setUIProperty_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setUIProperty_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setUIProperty_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setUIProperty_sam|trigger=none}{code:language=javascript}
//Only use this function from the solution on open method!
//In smart client, use this to set javax.swing.UIDefaults properties.
application.setUIProperty('ToolTip.hideAccelerator', true)

//In web client, use this to change the template directory.
//To change the default dir of templates/default to templates/green_skin, do this:
application.setUIProperty('templates.dir','green_skin');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setUserProperty|class=node}{tr:id=name}{td}h6.setUserProperty{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setUserProperty{span}{span:id=iets|style=float: left;}\(name, value){span}{td}{tr}{tr:id=des}{td}{sub-section:setUserProperty_des|text=|trigger=button}{sub-section}{sub-section:setUserProperty_des|trigger=none|class=sIndent}Set a persistent user property.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setUserProperty_snc|text=|trigger=button}{sub-section}{sub-section:setUserProperty_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setUserProperty_prs|text=|trigger=button}{sub-section}{sub-section:setUserProperty_prs|trigger=none|class=sIndent}\{[String]} name -- Name of the user property
\{[String]} value -- New value of the user property
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setUserProperty_ret|text=|trigger=button}{sub-section}{sub-section:setUserProperty_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setUserProperty_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setUserProperty_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setUserProperty_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setUserProperty_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setUserProperty_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setUserProperty_sam|trigger=none}{code:language=javascript}
application.setUserProperty('showOrders','1');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setValueListItems|class=node}{tr:id=name}{td}h6.setValueListItems{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setValueListItems{span}{span:id=iets|style=float: left;}\(name, displayValArray/dataset, \[realValuesArray\], \[autoconvert(false)\]){span}{td}{tr}{tr:id=des}{td}{sub-section:setValueListItems_des|text=|trigger=button}{sub-section}{sub-section:setValueListItems_des|trigger=none|class=sIndent}Fill a custom type valuelist with values from array(s) or dataset.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setValueListItems_snc|text=|trigger=button}{sub-section}{sub-section:setValueListItems_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setValueListItems_prs|text=|trigger=button}{sub-section}{sub-section:setValueListItems_prs|trigger=none|class=sIndent}name -- Name of the valuelist
displayValArray/dataset -- Display values array or DataSet
\[realValuesArray\] -- Real values array
\[autoconvert(false)\] -- Boolean (true) if display values and return values should be converted to numbers
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setValueListItems_ret|text=|trigger=button}{sub-section}{sub-section:setValueListItems_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setValueListItems_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setValueListItems_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setValueListItems_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setValueListItems_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setValueListItems_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setValueListItems_sam|trigger=none}{code:language=javascript}
//set display values (return values will be same as display values)
application.setValueListItems('my_en_types',new Array('Item 1', 'Item 2', 'Item 3'));
//set display values and return values (which are stored in dataprovider)
//application.setValueListItems('my_en_types',new Array('Item 1', 'Item 2', 'Item 3'),new Array(10000,10010,10456));
//set display values and return values converted to numbers
//application.setValueListItems('my_en_types',new Array('Item 1', 'Item 2', 'Item 3'),new Array('10000','10010', '10456'), true);
//do query and fill valuelist (see databaseManager for full details of queries/dataset)
//var query = 'select display_value,optional_real_value from test_table';
//var dataset = databaseManager.getDataSetByQuery(databaseManager.getDataSourceServerName(controller.getDataSource()), query, null, 25);

//application.setValueListItems('my_en_types',dataset);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setWindowLocation|class=node}{tr:id=name}{td}h6.setWindowLocation{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setWindowLocation{span}{span:id=iets|style=float: left;}\(x, y, \[windowName\]){span}{td}{tr}{tr:id=des}{td}{sub-section:setWindowLocation_des|text=|trigger=button}{sub-section}{sub-section:setWindowLocation_des|trigger=none|class=sIndent}Set the window location. If windowName is not specified or null, it will use either the default dialog (if it is shown) or the main application window.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setWindowLocation_snc|text=|trigger=button}{sub-section}{sub-section:setWindowLocation_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setWindowLocation_prs|text=|trigger=button}{sub-section}{sub-section:setWindowLocation_prs|trigger=none|class=sIndent}x -- Window new X location
y -- Window new Y location
\[windowName\] -- Name of the window
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setWindowLocation_ret|text=|trigger=button}{sub-section}{sub-section:setWindowLocation_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setWindowLocation_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setWindowLocation_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setWindowLocation_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setWindowLocation_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setWindowLocation_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setWindowLocation_sam|trigger=none}{code:language=javascript}
application.setWindowLocation(10,10,'customerDialog');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setWindowSize|class=node}{tr:id=name}{td}h6.setWindowSize{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setWindowSize{span}{span:id=iets|style=float: left;}\(width, height, \[windowName\]){span}{td}{tr}{tr:id=des}{td}{sub-section:setWindowSize_des|text=|trigger=button}{sub-section}{sub-section:setWindowSize_des|trigger=none|class=sIndent}Set the window size. If windowName is not specified or null, it will resize either the default dialog (if it is shown) or the main application window.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setWindowSize_snc|text=|trigger=button}{sub-section}{sub-section:setWindowSize_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setWindowSize_prs|text=|trigger=button}{sub-section}{sub-section:setWindowSize_prs|trigger=none|class=sIndent}width -- Window new width
height -- Window new height
\[windowName\] -- Name of the window
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setWindowSize_ret|text=|trigger=button}{sub-section}{sub-section:setWindowSize_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setWindowSize_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setWindowSize_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setWindowSize_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setWindowSize_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setWindowSize_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setWindowSize_sam|trigger=none}{code:language=javascript}
application.setWindowSize(400,400,'customerDialog');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showCalendar|class=node}{tr:id=name}{td}h6.showCalendar{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Date]{span}{span:id=iets|style=float: left; font-weight: bold;}showCalendar{span}{span:id=iets|style=float: left;}\(\[selecteddate\], \[dateformat\]){span}{td}{tr}{tr:id=des}{td}{sub-section:showCalendar_des|text=|trigger=button}{sub-section}{sub-section:showCalendar_des|trigger=none|class=sIndent}Show the calendar, returns selected date or null if canceled.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showCalendar_snc|text=|trigger=button}{sub-section}{sub-section:showCalendar_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showCalendar_prs|text=|trigger=button}{sub-section}{sub-section:showCalendar_prs|trigger=none|class=sIndent}\[selecteddate\] -- Default selected date
\[dateformat\] -- Date format
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showCalendar_ret|text=|trigger=button}{sub-section}{sub-section:showCalendar_ret|trigger=none|class=sIndent}[Date] -- Selected date or null if canceled{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showCalendar_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showCalendar_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showCalendar_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showCalendar_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showCalendar_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showCalendar_sam|trigger=none}{code:language=javascript}
var selectedDate = application.showCalendar();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showColorChooser|class=node}{tr:id=name}{td}h6.showColorChooser{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}showColorChooser{span}{span:id=iets|style=float: left;}\(\[colorString\]){span}{td}{tr}{tr:id=des}{td}{sub-section:showColorChooser_des|text=|trigger=button}{sub-section}{sub-section:showColorChooser_des|trigger=none|class=sIndent}Show the colorChooser. Returned value is in format #RRGGBB or null if canceled.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showColorChooser_snc|text=|trigger=button}{sub-section}{sub-section:showColorChooser_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showColorChooser_prs|text=|trigger=button}{sub-section}{sub-section:showColorChooser_prs|trigger=none|class=sIndent}\[colorString\] -- Default color
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showColorChooser_ret|text=|trigger=button}{sub-section}{sub-section:showColorChooser_ret|trigger=none|class=sIndent}[String] -- selected color or null if canceled{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showColorChooser_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showColorChooser_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showColorChooser_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showColorChooser_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showColorChooser_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showColorChooser_sam|trigger=none}{code:language=javascript}
var selectedColor = application.showColorChooser();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showFontChooser|class=node}{tr:id=name}{td}h6.showFontChooser{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}showFontChooser{span}{span:id=iets|style=float: left;}\(\[fontString\]){span}{td}{tr}{tr:id=des}{td}{sub-section:showFontChooser_des|text=|trigger=button}{sub-section}{sub-section:showFontChooser_des|trigger=none|class=sIndent}Show the font chooser dialog. Returns the selected font.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showFontChooser_snc|text=|trigger=button}{sub-section}{sub-section:showFontChooser_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showFontChooser_prs|text=|trigger=button}{sub-section}{sub-section:showFontChooser_prs|trigger=none|class=sIndent}\[fontString\] -- Default font
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showFontChooser_ret|text=|trigger=button}{sub-section}{sub-section:showFontChooser_ret|trigger=none|class=sIndent}[String] -- selected font{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showFontChooser_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showFontChooser_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showFontChooser_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showFontChooser_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showFontChooser_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showFontChooser_sam|trigger=none}{code:language=javascript}
var selectedFont = application.showFontChooser();
elements.myfield.font = selectedFont
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showForm|class=node}{tr:id=name}{td}h6.showForm{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showForm{span}{span:id=iets|style=float: left;}\(form){span}{td}{tr}{tr:id=des}{td}{sub-section:showForm_des|text=|trigger=button}{sub-section}{sub-section:showForm_des|trigger=none|class=sIndent}Show the form specified by the parameter, that can be a name (is case sensitive!) or a form object.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showForm_snc|text=|trigger=button}{sub-section}{sub-section:showForm_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showForm_prs|text=|trigger=button}{sub-section}{sub-section:showForm_prs|trigger=none|class=sIndent}\{[Object]} form -- Form object or name
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showForm_ret|text=|trigger=button}{sub-section}{sub-section:showForm_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showForm_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showForm_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showForm_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showForm_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showForm_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showForm_sam|trigger=none}{code:language=javascript}
application.showForm('MyForm');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showFormInDialog|class=node}{tr:id=name}{td}h6.showFormInDialog{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showFormInDialog{span}{span:id=iets|style=float: left;}\(form, \[x\], \[y\], \[width\], \[height\], \[dialogTitle\], \[resizable\], \[showTextToolbar\], \[windowName\], \[modal\]){span}{td}{tr}{tr:id=des}{td}{sub-section:showFormInDialog_des|text=|trigger=button}{sub-section}{sub-section:showFormInDialog_des|trigger=none|class=sIndent}Show the specified form in a dialog. (NOTE: x, y, width, height are initial bounds \- applied only the fist time a dialog is shown)

NOTE:
In the Smart Client, no code is executed after the function showFormInDialog <em>if the dialog is modal</em>.

NOTE:
x, y, width and height coordinates are only applied the first time the specified dialog is shown.
Use APP\_UI\_PROPERTY.FULL\_SCREEN for these values when the dialog should be full\-screen.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showFormInDialog_snc|text=|trigger=button}{sub-section}{sub-section:showFormInDialog_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showFormInDialog_prs|text=|trigger=button}{sub-section}{sub-section:showFormInDialog_prs|trigger=none|class=sIndent}form -- The form to be shown in the dialog.
\[x\] -- The "x" coordinate of the dialog.
\[y\] -- The "y" coordinate of the dialog.
\[width\] -- The width of the dialog.
\[height\] -- The height of the dialog.
\[dialogTitle\] -- The title of the dialog.
\[resizable\] -- <em>true</em> if the dialog size should be modifiable; <em>false</em> if not.
\[showTextToolbar\] -- <em>true</em> to add a text toolbar; <em>false</em> to not add a text toolbar.
\[windowName\] -- The name of the window; defaults to "dialog" if nothing is specified. Window and dialog names share the same namespace.
\[modal\] -- <em>true</em> if the dialog should be modal; <em>false</em> if not. Defaults to <em>true</em>.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showFormInDialog_ret|text=|trigger=button}{sub-section}{sub-section:showFormInDialog_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showFormInDialog_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showFormInDialog_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showFormInDialog_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showFormInDialog_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showFormInDialog_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showFormInDialog_sam|trigger=none}{code:language=javascript}
//Show the specified form in a modal dialog, on default initial location and size (x,y,w,h)
//application.showFormInDialog(forms.contacts);
//Note: No code is executed after the showFormInDialog until the dialog is closed if it is created as a modal dialog.
//Show the specified form in a non-modal dialog with a specified name, on default initial location and size (x,y,w,h)
//application.showFormInDialog(forms.contacts,'contactsdialog',false);
//Show the specified form in a modal dialog, at a specified initial location and size with custom title, not resizable but with text toolbar
application.showFormInDialog(forms.contacts,100,80,500,300,'my own dialog title',false,true,'mydialog',true);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showFormInWindow|class=node}{tr:id=name}{td}h6.showFormInWindow{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showFormInWindow{span}{span:id=iets|style=float: left;}\(form, \[x\], \[y\], \[width\], \[height\], \[dialogTitle\], \[resizable\], \[showTextToolbar\], \[windowName\]){span}{td}{tr}{tr:id=des}{td}{sub-section:showFormInWindow_des|text=|trigger=button}{sub-section}{sub-section:showFormInWindow_des|trigger=none|class=sIndent}Show the specified form in a window. (NOTE: x, y, width, height are initial bounds \- applied only the fist time a window is shown)

NOTE:
Forms in windows cannot be modal. They are more independent then dialogs, even non\-modal ones. For example in SC, a non\-modal dialog will always
be shown on top of the parent window and it will not have a separate entry in the OS window manager (for example Windows taskbar). 

NOTE:
x, y, width and height coordinates are only applied the first time the specified window is shown.
Use APP\_UI\_PROPERTY.FULL\_SCREEN for these values when the window should be full\-screen.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showFormInWindow_snc|text=|trigger=button}{sub-section}{sub-section:showFormInWindow_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showFormInWindow_prs|text=|trigger=button}{sub-section}{sub-section:showFormInWindow_prs|trigger=none|class=sIndent}form -- The form to be shown in the dialog.
\[x\] -- The "x" coordinate of the dialog.
\[y\] -- The "y" coordinate of the dialog.
\[width\] -- The width of the dialog.
\[height\] -- The height of the dialog.
\[dialogTitle\] -- The title of the dialog.
\[resizable\] -- <em>true</em> if the dialog size should be modifiable; <em>false</em> if not.
\[showTextToolbar\] -- <em>true</em> to add a text toolbar; <em>false</em> to not add a text toolbar.
\[windowName\] -- The name of the window; defaults to "dialog" if nothing is specified. Window and dialog names share the same namespace.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showFormInWindow_ret|text=|trigger=button}{sub-section}{sub-section:showFormInWindow_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showFormInWindow_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showFormInWindow_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showFormInWindow_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showFormInWindow_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showFormInWindow_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showFormInWindow_sam|trigger=none}{code:language=javascript}
//Show the specified form in a window, on default initial location and size
//application.showFormInWindow(forms.contacts);
//Show the specified form in a window with a specified name, on default initial location and size
//application.showFormInWindow(forms.contacts,'contactsWindow');
//Show the specified form in a window, at a specified initial location and size with custom title, not resizable but with text toolbar
application.showFormInWindow(forms.contacts,100,80,500,300,'my own window title',false,true,'mywindow');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showI18NDialog|class=node}{tr:id=name}{td}h6.showI18NDialog{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}showI18NDialog{span}{span:id=iets|style=float: left;}\(\[keyToSelect\], \[languageToSelect\]){span}{td}{tr}{tr:id=des}{td}{sub-section:showI18NDialog_des|text=|trigger=button}{sub-section}{sub-section:showI18NDialog_des|trigger=none|class=sIndent}Opens the i18n dialog so users can change translations. Returns the key selected by the user (not it's translation)  or null if cancel is pressed. Optional parameters specify the initial selections in the dialog.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showI18NDialog_snc|text=|trigger=button}{sub-section}{sub-section:showI18NDialog_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showI18NDialog_prs|text=|trigger=button}{sub-section}{sub-section:showI18NDialog_prs|trigger=none|class=sIndent}\[keyToSelect\] -- Default selected key
\[languageToSelect\] -- Default selected language
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showI18NDialog_ret|text=|trigger=button}{sub-section}{sub-section:showI18NDialog_ret|trigger=none|class=sIndent}[String] -- selected I18N key or null if cancel is pressed{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showI18NDialog_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showI18NDialog_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showI18NDialog_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showI18NDialog_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showI18NDialog_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showI18NDialog_sam|trigger=none}{code:language=javascript}
application.showI18NDialog("servoy.button.close", "en");
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showURL|class=node}{tr:id=name}{td}h6.showURL{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}showURL{span}{span:id=iets|style=float: left;}\(url, \[webclientTarget\], \[webclientTargetOptions/timeout\], \[timeout\]){span}{td}{tr}{tr:id=des}{td}{sub-section:showURL_des|text=|trigger=button}{sub-section}{sub-section:showURL_des|trigger=none|class=sIndent}Shows an URL in a browser.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showURL_snc|text=|trigger=button}{sub-section}{sub-section:showURL_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showURL_prs|text=|trigger=button}{sub-section}{sub-section:showURL_prs|trigger=none|class=sIndent}url -- URL to show
\[webclientTarget\] -- Target frame or named dialog/window
\[webclientTargetOptions/timeout\] -- Dialog options used when a dialog is specified / a timeout in seconds when the url should be shown
\[timeout\] -- A timeout in seconds when the url should be shown
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showURL_ret|text=|trigger=button}{sub-section}{sub-section:showURL_ret|trigger=none|class=sIndent}[Boolean] -- Boolean (true) if URL was shown{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showURL_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showURL_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showURL_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showURL_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showURL_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:showURL_sam|trigger=none}{code:language=javascript}
application.showURL('http://www.example.com');

//webclient specific additional parameters...
//2nd parameter: target frame or named dialog/window, so its possible to control in which (internal) frame or dialog the url is loaded, '_self' is current window,'_blank' is new dialog, '_top' is main window
//3rd parameter: dialog options used when a dialog is specified, example: 'height=200,width=400,status=yes,toolbar=no,menubar=no,location=no'
//3th or 4th parameter: a timeout in seconds when the url should be shown, immediantly/0 is default'
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=sleep|class=node}{tr:id=name}{td}h6.sleep{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}sleep{span}{span:id=iets|style=float: left;}\(ms){span}{td}{tr}{tr:id=des}{td}{sub-section:sleep_des|text=|trigger=button}{sub-section}{sub-section:sleep_des|trigger=none|class=sIndent}Sleep for specified time (in milliseconds).{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:sleep_snc|text=|trigger=button}{sub-section}{sub-section:sleep_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:sleep_prs|text=|trigger=button}{sub-section}{sub-section:sleep_prs|trigger=none|class=sIndent}\{[Number]} ms -- Sleep time in milliseconds
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:sleep_ret|text=|trigger=button}{sub-section}{sub-section:sleep_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:sleep_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:sleep_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:sleep_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:sleep_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:sleep_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:sleep_sam|trigger=none}{code:language=javascript}
//Sleep for 3 seconds
application.sleep(3000);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=undo|class=node}{tr:id=name}{td}h6.undo{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}undo{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:undo_des|text=|trigger=button}{sub-section}{sub-section:undo_des|trigger=none|class=sIndent}Undo last action (if possible).{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:undo_snc|text=|trigger=button}{sub-section}{sub-section:undo_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:undo_prs|text=|trigger=button}{sub-section}{sub-section:undo_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:undo_ret|text=|trigger=button}{sub-section}{sub-section:undo_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:undo_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:undo_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:undo_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:undo_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:undo_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:undo_sam|trigger=none}{code:language=javascript}
application.undo();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=updateUI|class=node}{tr:id=name}{td}h6.updateUI{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}updateUI{span}{span:id=iets|style=float: left;}\(\[milliseconds\]){span}{td}{tr}{tr:id=des}{td}{sub-section:updateUI_des|text=|trigger=button}{sub-section}{sub-section:updateUI_des|trigger=none|class=sIndent}Updates the UI (painting). If in a script an element changed and the script continues doing 
things, you can give an number in ms how long this can take.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:updateUI_snc|text=|trigger=button}{sub-section}{sub-section:updateUI_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:updateUI_prs|text=|trigger=button}{sub-section}{sub-section:updateUI_prs|trigger=none|class=sIndent}\[milliseconds\] -- How long the update should take in milliseconds
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:updateUI_ret|text=|trigger=button}{sub-section}{sub-section:updateUI_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:updateUI_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:updateUI_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:updateUI_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:updateUI_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:updateUI_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:updateUI_sam|trigger=none}{code:language=javascript}
application.updateUI(500);
//continue doing things
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}