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{th}{tr}{tr}{td}{span:class=sWordList}[DRAGNDROP]{span}{span:class=sWordList}[JSDNDEvent]{span}{span:class=sWordList}[JSEvent]{span}{span:class=sWordList}[JSRenderEvent]{span}{span:class=sWordList}[JSWindow]{span}{span:class=sWordList}[APPLICATION_TYPES]{span}{span:class=sWordList}[CLIENTDESIGN]{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}[Renderable]{span}{span:class=sWordList}[UUID]{span}{td}{tr}{table}\\ 

{table:id=|class=servoy sSummary}{colgroup}{column:width=80px|padding=0px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summary{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}[#closeAllWindows]\()
Close all visible windows (except main application window).{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#closeSolution]\()
Closes the currently open solution and optionally opens another solution, calling a specified global method with the specified arguments.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#closeSolution]\(solutionToLoad)
Closes the currently open solution and optionally opens another solution, calling a specified global method with the specified arguments.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#closeSolution]\(solutionToLoad, methodName)
Closes the currently open solution and optionally opens another solution, calling a specified global method with the specified arguments.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#closeSolution]\(solutionToLoad, methodName, methodArgument)
Closes the currently open solution and optionally opens another solution, calling a specified global method with the specified arguments.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#createNewFormInstance]\(designFormName, newInstanceScriptName)
Create a new form instance.{td}{tr}{tbody}{tbody}{tr}{td}[JSWindow]{td}{td}[#createWindow]\(windowName, type)
Creates a new window that can be used for displaying forms.{td}{tr}{tbody}{tbody}{tr}{td}[JSWindow]{td}{td}[#createWindow]\(windowName, type, parentWindow)
Creates a new window that can be used for displaying forms.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#executeProgram]\(program)
Execute a program and returns output.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#executeProgram]\(program, params)
Execute a program and returns output.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#executeProgram]\(program, params, environmentVars)
Execute a program and returns output.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#executeProgram]\(program, params, environmentVars, startDir)
Execute a program and returns output.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#executeProgramInBackground]\(program)
Execute a program in the background.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#executeProgramInBackground]\(program, params)
Execute a program in the background.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#executeProgramInBackground]\(program, params, environmentVars)
Execute a program in the background.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#executeProgramInBackground]\(program, params, environmentVars, startDir)
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}[JSWindow]{td}{td}[#getActiveWindow]\()
This gets the currently focused active window; this can be the main application window or a modal dialog.{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}[Object]{td}{td}[#getClientProperty]\(name)
Sets a UI property.{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}[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]\()
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}[UUID]{td}{td}[#getUUID]\(byteArray)
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}[UUID]{td}{td}[#getUUID]\(uuidString)
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}[JSWindow]{td}{td}[#getWindow]\()
Get the main application window.{td}{tr}{tbody}{tbody}{tr}{td}[JSWindow]{td}{td}[#getWindow]\(name)
Get a window by window name.{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)
Output something on the out stream.{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}[Boolean]{td}{td}[#putClientProperty]\(name, value)
Sets a UI property.{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}[Boolean]{td}{td}[#removeClientInfo]\(info)
Removes a string of client information which is stored on the server and
previously was added using the application.{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)
Set the status area value.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setStatusText]\(text, tooltip)
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}void{td}{td}[#setUserProperty]\(name, value)
Set a persistent user property.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setValueListItems]\(name, dataset)
Fill a custom type valuelist with values from array(s) or dataset.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setValueListItems]\(name, dataset, autoconvert)
Fill a custom type valuelist with values from array(s) or dataset.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setValueListItems]\(name, displayValues)
Fill a custom type valuelist with values from array(s) or dataset.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setValueListItems]\(name, displayValues, autoconvert)
Fill a custom type valuelist with values from array(s) or dataset.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setValueListItems]\(name, displayValues, realValues)
Fill a custom type valuelist with values from array(s) or dataset.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setValueListItems]\(name, displayValues, realValues, autoconvert)
Fill a custom type valuelist with values from array(s) or dataset.{td}{tr}{tbody}{tbody}{tr}{td}[Date]{td}{td}[#showCalendar]\()
Show the calendar, returns selected date or null if canceled.{td}{tr}{tbody}{tbody}{tr}{td}[Date]{td}{td}[#showCalendar]\(dateFormat)
Show the calendar, returns selected date or null if canceled.{td}{tr}{tbody}{tbody}{tr}{td}[Date]{td}{td}[#showCalendar]\(selectedDate)
Show the calendar, returns selected date or null if canceled.{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]\()
Show the colorChooser.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#showColorChooser]\(colorString)
Show the colorChooser.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#showFontChooser]\()
Show the font chooser dialog.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#showFontChooser]\(defaultFont)
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}[String]{td}{td}[#showI18NDialog]\()
Opens the i18n dialog so users can change translations.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#showI18NDialog]\(keyToSelect)
Opens the i18n dialog so users can change translations.{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)
Shows an URL in a browser.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#showURL]\(url, webclientTarget)
Shows an URL in a browser.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#showURL]\(url, webclientTarget, timeout)
Shows an URL in a browser.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#showURL]\(url, webclientTarget, webclientTargetOptions)
Shows an URL in a browser.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#showURL]\(url, webclientTarget, webclientTargetOptions, 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]\()
Updates the UI (painting).{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:width=100%|padding=0px}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:addClientInfo_des|trigger=button|text=}{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.Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:addClientInfo_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:beep_des|trigger=button|text=}{sub-section}{sub-section:beep_des|trigger=none|class=sIndent}ProducesReplace a "beep" sound; commonly used to indicate an error or warning dialog.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:beep_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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=closeAllWindows|class=node}{tr:id=name}{td}h6.closeAllWindows{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}closeAllWindows{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:closeAllWindows_des|trigger=button|text=}{sub-section}{sub-section:closeAllWindows_des|trigger=none|class=sIndent}CloseReplace all visible windows (except main application window). Returns true if operation was successful.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:closeAllWindows_snc|trigger=button|text=}{sub-section}{sub-section:closeAllWindows_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:closeAllWindows_prs|trigger=button|text=}{sub-section}{sub-section:closeAllWindows_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:closeAllWindows_ret|trigger=button|text=}{sub-section}{sub-section:closeAllWindows_ret|trigger=none|class=sIndent}[Boolean] -- Boolean true if all windows were closed and false otherwise.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:closeAllWindows_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:closeAllWindows_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:closeAllWindows_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:closeAllWindows_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:closeAllWindows_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:closeAllWindows_sam|trigger=none}{code:language=javascript}
var win = application.createWindow("aWindowName", JSWindow.WINDOW, null);
win.setInitialBounds(10, 10, 300, 300);
win.title = "This is a window";
controller.show(win);

var win2 = application.createWindow("anotherWindowName", JSWindow.WINDOW, null);
win2.setInitialBounds(100, 100, 300, 300);
win2.title = "This is another window";
controller.show(win2);

var qdialog = plugins.dialogs.showQuestionDialog("QuestionDialog","Do you want to close the windows?","Yes","No");
if (qdialog == "Yes") {
	application.closeAllWindows();
	controller.show(null);
}
{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;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:closeSolution_des|trigger=button|text=}{sub-section}{sub-section:closeSolution_des|trigger=none|class=sIndent}Closes the currently open solution and optionally opens another solution, calling a specified global method with the specified arguments.
If the user has been logged in, this function keeps the user logged in and in the newly open solution, the login is skipped and the solution goes straight to the first form.
If you want to go to a different url, you need to call application.showURL(url) before calling application.closeSolution() (this is only applicable for Web Client). 
An alternative option is security.logout() which also does a log out for the user (for solutions that require authentication).Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:closeSolution_snc|trigger=button|text=}{sub-section}{sub-section:closeSolution_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:closeSolution_prs|trigger=button|text=}{sub-section}{sub-section:closeSolution_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:closeSolution_ret|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:closeSolution_sam|trigger=none}{code:language=javascript}
//application.showURL('http://www.servoy.com', '_self');  //Web Client only
application.closeSolution();
//close current solution, open solution 'solution_name', call global method 'global_method_name' with argument 'my_argument'.
//if the user has been logged in, he will stay logged in
//application.closeSolution('solution_name','global_method_name','my_argument');
//Note: specifying a solution will not work in the Developer due to debugger dependencies
//specified solution should be of compatible type with client (normal type or client specific(Smart client only/Web client only) type )
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=closeSolution-String|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){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:closeSolution-String_des|trigger=button|text=}{sub-section}{sub-section:closeSolution-String_des|trigger=none|class=sIndent}Closes the currently open solution and optionally opens another solution, calling a specified global method with the specified arguments.
If the user has been logged in, this function keeps the user logged in and in the newly open solution, the login is skipped and the solution goes straight to the first form.
If you want to go to a different url, you need to call application.showURL(url) before calling application.closeSolution() (this is only applicable for Web Client). 
An alternative option is security.logout() which also does a log out for the user (for solutions that require authentication).{sub-section}{td}{tr}{Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:closeSolution-String_snc|trigger=button|text=}{sub-section}{sub-section:closeSolution-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:closeSolution-String_prs|trigger=button|text=}{sub-section}{sub-section:closeSolution-String_prs|trigger=none|class=sIndent}\{[String]} solutionToLoad -- Name of the solution to load
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:closeSolution-String_ret|trigger=button|text=}{sub-section}{sub-section:closeSolution-String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:closeSolution-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:closeSolution-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:closeSolution-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:closeSolution-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:closeSolution-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:closeSolution-String_sam|trigger=none}{code:language=javascript}
//application.showURL('http://www.servoy.com', '_self');  //Web Client only
application.closeSolution();
//close current solution, open solution 'solution_name', call global method 'global_method_name' with argument 'my_argument'.
//if the user has been logged in, he will stay logged in
//application.closeSolution('solution_name','global_method_name','my_argument');
//Note: specifying a solution will not work in the Developer due to debugger dependencies
//specified solution should be of compatible type with client (normal type or client specific(Smart client only/Web client only) type )
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=closeSolution-String_String|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, methodName){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:closeSolution-String_String_des|trigger=button|text=}{sub-section}{sub-section:closeSolution-String_String_des|trigger=none|class=sIndent}ClosesReplace the currently open solution and optionally opens another solution, calling a specified global method with the specified arguments.
If the user has been logged in, this function keeps the user logged in and in the newly open solution, the login is skipped and the solution goes straight to the first form.
If you want to go to a different url, you need to call application.showURL(url) before calling application.closeSolution() (this is only applicable for Web Client). 
An alternative option is security.logout() which also does a log out for the user (for solutions that require authentication).{sub-section}{tdwith description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:closeSolution-String_String_snc|trigger=button|text=}{sub-section}{sub-section:closeSolution-String_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:closeSolution-String_String_snc|trigger=button|text=}{sub-section}{sub-section:closeSolution-String_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:closeSolution-String_String_prs|trigger=button|text=}{sub-section}{sub-section:closeSolution-String_String_prs|trigger=none|class=sIndent}\{[String]} solutionToLoad -- Name of the solution to load
\{[String]} methodName -- Name of the global method to call
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:closeSolution-String_String_ret|trigger=button|text=}{sub-section}{sub-section:closeSolution-String_String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:closeSolution-String_String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:closeSolution-String_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:closeSolution-String_String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:closeSolution-String_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:closeSolution-String_String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:closeSolution-String_String_sam|trigger=none}{code:language=javascript}
//application.showURL('http://www.servoy.com', '_self');  //Web Client only
application.closeSolution();
//close current solution, open solution 'solution_name', call global method 'global_method_name' with argument 'my_argument'.
//if the user has been logged in, he will stay logged in
//application.closeSolution('solution_name','global_method_name','my_argument');
//Note: specifying a solution will not work in the Developer due to debugger dependencies
//specified solution should be of compatible type with client (normal type or client specific(Smart client only/Web client only) type )
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=closeSolution-String_String_Object|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, methodName, methodArgument){span}{td}{tr}{tr:id=des}{td}{sub-section:closeSolution-String_String_Object_des|trigger=button|text=}{sub-section}{sub-section:closeSolution-String_String_Object_des|trigger=none|class=sIndent}Closes the currently open solution and optionally opens another solution, calling a specified global method with the specified arguments.
If the user has been logged in, this function keeps the user logged in and in the newly open solution, the login is skipped and the solution goes straight to the first form.
If you want to go to a different url, you need to call application.showURL(url) before calling application.closeSolution() (this is only applicable for Web Client). 
An alternative option is security.logout() which also does a log out for the user (for solutions that require authentication).=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, methodName, methodArgument){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:closeSolution-String_String_Object_des|trigger=button|text=}{sub-section}{sub-section:closeSolution-String_String_Object_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:closeSolution-String_String_Object_snc|trigger=button|text=}{sub-section}{sub-section:closeSolution-String_String_Object_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:closeSolution-String_String_Object_prs|trigger=button|text=}{sub-section}{sub-section:closeSolution-String_String_Object_prs|trigger=none|class=sIndent}\{[String]} solutionToLoad -- Name of the solution to load
\{[String]} methodName -- Name of the global method to call
\{[Object]} methodArgument -- Argument passed to the global method
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:closeSolution-String_String_Object_ret|trigger=button|text=}{sub-section}{sub-section:closeSolution-String_String_Object_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:closeSolution-String_String_Object_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:closeSolution-String_String_Object_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:closeSolution-String_String_Object_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:closeSolution-String_String_Object_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:closeSolution-String_String_Object_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:closeSolution-String_String_Object_sam|trigger=none}{code:language=javascript}
//application.showURL('http://www.servoy.com', '_self');  //Web Client only
application.closeSolution();
//close current solution, open solution 'solution_name', call global method 'global_method_name' with argument 'my_argument'.
//if the user has been logged in, he will stay logged in
//application.closeSolution('solution_name','global_method_name','my_argument');
//Note: specifying a solution will not work in the Developer due to debugger dependencies
//specified solution should be of compatible type with client (normal type or client specific(Smart client only/Web client only) type )
{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:createNewFormInstance_des|trigger=button|text=}{sub-section}{sub-section:createNewFormInstance_des|trigger=none|class=sIndent}CreateReplace a new form instance.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:createNewFormInstance_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:createNewFormInstance_sam|trigger=none}{code:language=javascript}
var ok = application.createNewFormInstance('orders','orders_view');
if (ok)
{
	var dialog = application.createWindow("myDialog", JSWindow.DIALOG);
 dialog.show('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=createWindow-String_Number|class=node}{tr:id=name}{td}h6.createWindow{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSWindow]{span}{span:id=iets|style=float: left; font-weight: bold;}createWindow{span}{span:id=iets|style=float: left;}\(windowName, type){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:createWindow-String_Number_des|trigger=button|text=}{sub-section}{sub-section:createWindow-String_Number_des|trigger=none|class=sIndent}Creates a new window that can be used for displaying forms. Initially the window is not visible.
If there is already a window with the given name, it will be closed and destroyed prior to creating the new window.
Use the form controller show() and showRecords() methods in order to show a form in this window.class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:createWindow-String_Number_snc|trigger=button|text=}{sub-section}{sub-section:createWindow-String_Number_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:createWindow-String_Number_prs|trigger=button|text=}{sub-section}{sub-section:createWindow-String_Number_prs|trigger=none|class=sIndent}\{[String]} windowName -- the name of the window.
\{[Number]} type -- the type of the window. Can be one of JSWindow.DIALOG, JSWindow.MODAL\_DIALOG, JSWindow.WINDOW.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:createWindow-String_Number_ret|trigger=button|text=}{sub-section}{sub-section:createWindow-String_Number_ret|trigger=none|class=sIndent}[JSWindow] -- the newly created window.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:createWindow-String_Number_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:createWindow-String_Number_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:createWindow-String_Number_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:createWindow-String_Number_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:createWindow-String_Number_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:createWindow-String_Number_sam|trigger=none}{code:language=javascript}
// create and show a window, with specified title, initial location and size
// type of the window can be one of JSWindow.DIALOG, JSWindow.MODAL_DIALOG, JSWindow.WINDOW
// If parentWindow is not specified, the current window will be used as parent; parentWindow parameter is only used by dialogs
var win = application.createWindow("windowName", JSWindow.WINDOW);
win.setInitialBounds(10, 10, 300, 300);
win.title = "This is a window";
controller.show(win);
// create and show a non-modal dialog with default initial bounds/title
var nmd = application.createWindow("nonModalDialogName", JSWindow.DIALOG);
controller.showRecords(15, nmd); // 15 is a single-number pk in this case
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=createWindow-String_Number_JSWindow|class=node}{tr:id=name}{td}h6.createWindow{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSWindow]{span}{span:id=iets|style=float: left; font-weight: bold;}createWindow{span}{span:id=iets|style=float: left;}\(windowName, type, parentWindow){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:createWindow-String_Number_JSWindow_des|trigger=button|text=}{sub-section}{sub-section:createWindow-String_Number_JSWindow_des|trigger=none|class=sIndent}Creates a new window that can be used for displaying forms. Initially the window is not visible.
If there is already a window with the given name, it will be closed and destroyed prior to creating the new window.
Use the form controller show() and showRecords() methods in order to show a form in this window.Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:createWindow-String_Number_JSWindow_snc|trigger=button|text=}{sub-section}{sub-section:createWindow-String_Number_JSWindow_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:createWindow-String_Number_JSWindow_prs|trigger=button|text=}{sub-section}{sub-section:createWindow-String_Number_JSWindow_prs|trigger=none|class=sIndent}\{[String]} windowName -- the name of the window.
\{[Number]} type -- the type of the window. Can be one of JSWindow.DIALOG, JSWindow.MODAL\_DIALOG, JSWindow.WINDOW.
\{[JSWindow]} parentWindow -- the parent JSWindow object. If it is not specified, the current window will be used as parent. This parameter is only used by dialogs.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:createWindow-String_Number_JSWindow_ret|trigger=button|text=}{sub-section}{sub-section:createWindow-String_Number_JSWindow_ret|trigger=none|class=sIndent}[JSWindow] -- the newly created window.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:createWindow-String_Number_JSWindow_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:createWindow-String_Number_JSWindow_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:createWindow-String_Number_JSWindow_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:createWindow-String_Number_JSWindow_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:createWindow-String_Number_JSWindow_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:createWindow-String_Number_JSWindow_sam|trigger=none}{code:language=javascript}
// create and show a window, with specified title, initial location and size
var win = application.createWindow("windowName", JSWindow.WINDOW);
win.setInitialBounds(10, 10, 300, 300);
win.title = "This is a window";
controller.show(win);
// create and show a non-modal dialog with default initial bounds/title
var nmd = application.createWindow("nonModalDialogName", JSWindow.DIALOG);
controller.showRecords(15, nmd); // 15 is a single-number pk in this case
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=executeProgram-String|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;}\(program){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:executeProgram-String_des|trigger=button|text=}{sub-section}{sub-section:executeProgram-String_des|trigger=none|class=sIndent}ExecuteReplace a program and returns output. Specify the cmd as you would do in a console.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:executeProgram-String_snc|trigger=button|text=}{sub-section}{sub-section:executeProgram-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:executeProgram-String_prs|trigger=button|text=}{sub-section}{sub-section:executeProgram-String_prs|trigger=none|class=sIndent}\{[String]} program -- (fullpath) of the program to execute
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:executeProgram-String_ret|trigger=button|text=}{sub-section}{sub-section:executeProgram-String_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-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:executeProgram-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:executeProgram-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:executeProgram-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:executeProgram-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:executeProgram-String_sam|trigger=none}{code:language=javascript}
// For Windows systems:
// Runs a binary located in the user's home directory. The application will run in the current working
// directory, which in general is the one where Servoy was started from.
application.executeProgram("c:\\Users\\myself\\myapp.exe", ["arg1", "arg2", "arg3"]);
// The same as above, but run the application in the user's home directory. 
application.executeProgram("c:\\Users\\myself\\myapp.exe", ["arg1", "arg2", "arg3"], null, "c:\\Users\\myself\\");	
// The same as above, but also set an environment variable for the called program.
application.executeProgram("c:\\Users\\myself\\myapp.exe", ["arg1", "arg2", "arg3"], ["MY_ENV_VAR=something"], "c:\\Users\\myself\\");
// For non-Windows systems:
application.executeProgram("/home/myself/myapp", ["arg1", "arg2", "arg3"]);
application.executeProgram("/home/myself/myapp", ["arg1", "arg2", "arg3"], null, "/home/myself/");	
application.executeProgram("/home/myself/myapp", ["arg1", "arg2", "arg3"], ["MY_ENV_VAR=something"], "/home/myself/");
// Open a file with the default application associated with it. (on Windows)
application.executeProgram("rundll32.exe", ["url.dll,FileProtocolHandler", "filename"]);	
// Open a file with the default application associated with it. (on Linux)
application.executeProgram("xdg-open", ["filename"]);
// Open a file with the default application associated with it. (on MacOS)
application.executeProgram("open", ["filename"]);
// Open a file with a specific application (on MacOS).
application.executeProgram("open", ["-a", "OpenOffice.org.app", "filename.doc"]);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=executeProgram-String_StringArray|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;}\(program, params){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:executeProgram-String_StringArray_des|trigger=button|text=}{sub-section}{sub-section:executeProgram-String_StringArray_des|trigger=none|class=sIndent}Execute a program and returns output. Specify the cmd as you would do in a console.Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:executeProgram-String_StringArray_snc|trigger=button|text=}{sub-section}{sub-section:executeProgram-String_StringArray_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:executeProgram-String_StringArray_prs|trigger=button|text=}{sub-section}{sub-section:executeProgram-String_StringArray_prs|trigger=none|class=sIndent}\{[String]} program -- (fullpath) of the program to execute
\{[String]\[]} params -- an array of strings as program arguments
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:executeProgram-String_StringArray_ret|trigger=button|text=}{sub-section}{sub-section:executeProgram-String_StringArray_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-String_StringArray_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:executeProgram-String_StringArray_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:executeProgram-String_StringArray_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:executeProgram-String_StringArray_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:executeProgram-String_StringArray_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:executeProgram-String_StringArray_sam|trigger=none}{code:language=javascript}
// For Windows systems:
// Runs a binary located in the user's home directory. The application will run in the current working
// directory, which in general is the one where Servoy was started from.
application.executeProgram("c:\\Users\\myself\\myapp.exe", ["arg1", "arg2", "arg3"]);
// The same as above, but run the application in the user's home directory. 
application.executeProgram("c:\\Users\\myself\\myapp.exe", ["arg1", "arg2", "arg3"], null, "c:\\Users\\myself\\");	
// The same as above, but also set an environment variable for the called program.
application.executeProgram("c:\\Users\\myself\\myapp.exe", ["arg1", "arg2", "arg3"], ["MY_ENV_VAR=something"], "c:\\Users\\myself\\");
// For non-Windows systems:
application.executeProgram("/home/myself/myapp", ["arg1", "arg2", "arg3"]);
application.executeProgram("/home/myself/myapp", ["arg1", "arg2", "arg3"], null, "/home/myself/");	
application.executeProgram("/home/myself/myapp", ["arg1", "arg2", "arg3"], ["MY_ENV_VAR=something"], "/home/myself/");
// Open a file with the default application associated with it. (on Windows)
application.executeProgram("rundll32.exe", ["url.dll,FileProtocolHandler", "filename"]);	
// Open a file with the default application associated with it. (on Linux)
application.executeProgram("xdg-open", ["filename"]);
// Open a file with the default application associated with it. (on MacOS)
application.executeProgram("open", ["filename"]);
// Open a file with a specific application (on MacOS).
application.executeProgram("open", ["-a", "OpenOffice.org.app", "filename.doc"]);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=executeProgram-String_StringArray_StringArray|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;}\(program, params, environmentVars){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:executeProgram-String_StringArray_StringArray_des|trigger=button|text=}{sub-section}{sub-section:executeProgram-String_StringArray_StringArray_des|trigger=none|class=sIndent}ExecuteReplace a program and returns output. Specify the cmd as you would do in a console.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:executeProgram-String_StringArray_StringArray_snc|trigger=button|text=}{sub-section}{sub-section:executeProgram-String_StringArray_StringArray_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:executeProgram-String_StringArray_StringArray_prs|trigger=button|text=}{sub-section}{sub-section:executeProgram-String_StringArray_StringArray_prs|trigger=none|class=sIndent}\{[String]} program -- (fullpath) of the program to execute
\{[String]\[]} params -- an array of strings as program arguments
\{[String]\[]} environmentVars -- array of strings, each element of which has environment variable settings in the format name=value, or null if the subprocess should inherit the environment of the current process.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:executeProgram-String_StringArray_StringArray_ret|trigger=button|text=}{sub-section}{sub-section:executeProgram-String_StringArray_StringArray_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-String_StringArray_StringArray_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:executeProgram-String_StringArray_StringArray_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:executeProgram-String_StringArray_StringArray_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:executeProgram-String_StringArray_StringArray_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:executeProgram-String_StringArray_StringArray_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:executeProgram-String_StringArray_StringArray_sam|trigger=none}{code:language=javascript}
// For Windows systems:
// Runs a binary located in the user's home directory. The application will run in the current working
// directory, which in general is the one where Servoy was started from.
application.executeProgram("c:\\Users\\myself\\myapp.exe", ["arg1", "arg2", "arg3"]);
// The same as above, but run the application in the user's home directory. 
application.executeProgram("c:\\Users\\myself\\myapp.exe", ["arg1", "arg2", "arg3"], null, "c:\\Users\\myself\\");	
// The same as above, but also set an environment variable for the called program.
application.executeProgram("c:\\Users\\myself\\myapp.exe", ["arg1", "arg2", "arg3"], ["MY_ENV_VAR=something"], "c:\\Users\\myself\\");
// For non-Windows systems:
application.executeProgram("/home/myself/myapp", ["arg1", "arg2", "arg3"]);
application.executeProgram("/home/myself/myapp", ["arg1", "arg2", "arg3"], null, "/home/myself/");	
application.executeProgram("/home/myself/myapp", ["arg1", "arg2", "arg3"], ["MY_ENV_VAR=something"], "/home/myself/");
// Open a file with the default application associated with it. (on Windows)
application.executeProgram("rundll32.exe", ["url.dll,FileProtocolHandler", "filename"]);	
// Open a file with the default application associated with it. (on Linux)
application.executeProgram("xdg-open", ["filename"]);
// Open a file with the default application associated with it. (on MacOS)
application.executeProgram("open", ["filename"]);
// Open a file with a specific application (on MacOS).
application.executeProgram("open", ["-a", "OpenOffice.org.app", "filename.doc"]);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=executeProgram-String_StringArray_StringArray_String|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;}\(program, params, environmentVars, startDir){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:executeProgram-String_StringArray_StringArray_String_des|trigger=button|text=}{sub-section}{sub-section:executeProgram-String_StringArray_StringArray_String_des|trigger=none|class=sIndent}ExecuteReplace a program and returns output. Specify the cmd as you would do in a console.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:executeProgram-String_StringArray_StringArray_String_snc|trigger=button|text=}{sub-section}{sub-section:executeProgram-String_StringArray_StringArray_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:executeProgram-String_StringArray_StringArray_String_prs|trigger=button|text=}{sub-section}{sub-section:executeProgram-String_StringArray_StringArray_String_prs|trigger=none|class=sIndent}\{[String]} program -- (fullpath) of the program to execute
\{[String]\[]} params -- an array of strings as program arguments
\{[String]\[]} environmentVars -- array of strings, each element of which has environment variable settings in the format name=value, or null if the subprocess should inherit the environment of the current process.
\{[String]} startDir -- the working directory of the subprocess, or null if the subprocess should inherit the working directory of the current process.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:executeProgram-String_StringArray_StringArray_String_ret|trigger=button|text=}{sub-section}{sub-section:executeProgram-String_StringArray_StringArray_String_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-String_StringArray_StringArray_String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:executeProgram-String_StringArray_StringArray_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:executeProgram-String_StringArray_StringArray_String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:executeProgram-String_StringArray_StringArray_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:executeProgram-String_StringArray_StringArray_String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:executeProgram-String_StringArray_StringArray_String_sam|trigger=none}{code:language=javascript}
// For Windows systems:
// Runs a binary located in the user's home directory. The application will run in the current working
// directory, which in general is the one where Servoy was started from.
application.executeProgram("c:\\Users\\myself\\myapp.exe", ["arg1", "arg2", "arg3"]);
// The same as above, but run the application in the user's home directory. 
application.executeProgram("c:\\Users\\myself\\myapp.exe", ["arg1", "arg2", "arg3"], null, "c:\\Users\\myself\\");	
// The same as above, but also set an environment variable for the called program.
application.executeProgram("c:\\Users\\myself\\myapp.exe", ["arg1", "arg2", "arg3"], ["MY_ENV_VAR=something"], "c:\\Users\\myself\\");
// For non-Windows systems:
application.executeProgram("/home/myself/myapp", ["arg1", "arg2", "arg3"]);
application.executeProgram("/home/myself/myapp", ["arg1", "arg2", "arg3"], null, "/home/myself/");	
application.executeProgram("/home/myself/myapp", ["arg1", "arg2", "arg3"], ["MY_ENV_VAR=something"], "/home/myself/");
// Open a file with the default application associated with it. (on Windows)
application.executeProgram("rundll32.exe", ["url.dll,FileProtocolHandler", "filename"]);	
// Open a file with the default application associated with it. (on Linux)
application.executeProgram("xdg-open", ["filename"]);
// Open a file with the default application associated with it. (on MacOS)
application.executeProgram("open", ["filename"]);
// Open a file with a specific application (on MacOS).
application.executeProgram("open", ["-a", "OpenOffice.org.app", "filename.doc"]);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=executeProgramInBackground-String|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;}\(program){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:executeProgramInBackground-String_des|trigger=button|text=}{sub-section}{sub-section:executeProgramInBackground-String_des|trigger=none|class=sIndent}ExecuteReplace a program in the background. Specify the cmd as you would do in a console.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:executeProgramInBackground-String_snc|trigger=button|text=}{sub-section}{sub-section:executeProgramInBackground-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:executeProgramInBackground-String_prs|trigger=button|text=}{sub-section}{sub-section:executeProgramInBackground-String_prs|trigger=none|class=sIndent}\{[String]} program -- (fullpath) of the program to execute
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:executeProgramInBackground-String_ret|trigger=button|text=}{sub-section}{sub-section:executeProgramInBackground-String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:executeProgramInBackground-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:executeProgramInBackground-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:executeProgramInBackground-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:executeProgramInBackground-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:executeProgramInBackground-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:executeProgramInBackground-String_sam|trigger=none}{code:language=javascript}
// For Windows systems:
// Runs a binary located in the user's home directory. The application will run in the current working
// directory, which in general is the one where Servoy was started from.
application.executeProgramInBackground("c:\\Users\\myself\\myapp.exe", ["arg1", "arg2", "arg3"]);
// The same as above, but run the application in the user's home directory. 
application.executeProgramInBackground("c:\\Users\\myself\\myapp.exe", ["arg1", "arg2", "arg3"], null, "c:\\Users\\myself\\");	
// The same as above, but also set an environment variable for the called program.
application.executeProgramInBackground("c:\\Users\\myself\\myapp.exe", ["arg1", "arg2", "arg3"], ["MY_ENV_VAR=something"], "c:\\Users\\myself\\");
// For non-Windows systems:
application.executeProgramInBackground("/home/myself/myapp", ["arg1", "arg2", "arg3"]);
application.executeProgramInBackground("/home/myself/myapp", ["arg1", "arg2", "arg3"], null, "/home/myself/");	
application.executeProgramInBackground("/home/myself/myapp", ["arg1", "arg2", "arg3"], ["MY_ENV_VAR=something"], "/home/myself/");
// Open a file with the default application associated with it. (on Windows)
application.executeProgramInBackground("rundll32.exe", ["url.dll,FileProtocolHandler", "filename"]);	
// Open a file with the default application associated with it. (on Linux)
application.executeProgramInBackground("xdg-open", ["filename"]);
// Open a file with the default application associated with it. (on MacOS)
application.executeProgramInBackground("open", ["filename"]);
// Open a file with a specific application (on MacOS).
application.executeProgram("open", ["-a", "OpenOffice.org.app", "filename.doc"]);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=executeProgramInBackground-String_StringArray|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;}\(program, params){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:executeProgramInBackground-String_StringArray_des|trigger=button|text=}{sub-section}{sub-section:executeProgramInBackground-String_StringArray_des|trigger=none|class=sIndent}ExecuteReplace a program in the background. Specify the cmd as you would do in a console.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:executeProgramInBackground-String_StringArray_snc|trigger=button|text=}{sub-section}{sub-section:executeProgramInBackground-String_StringArray_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:executeProgramInBackground-String_StringArray_prs|trigger=button|text=}{sub-section}{sub-section:executeProgramInBackground-String_StringArray_prs|trigger=none|class=sIndent}\{[String]} program -- (fullpath) of the program to execute
\{[String]\[]} params -- an array of strings as program arguments
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:executeProgramInBackground-String_StringArray_ret|trigger=button|text=}{sub-section}{sub-section:executeProgramInBackground-String_StringArray_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:executeProgramInBackground-String_StringArray_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:executeProgramInBackground-String_StringArray_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:executeProgramInBackground-String_StringArray_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:executeProgramInBackground-String_StringArray_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:executeProgramInBackground-String_StringArray_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:executeProgramInBackground-String_StringArray_sam|trigger=none}{code:language=javascript}
// For Windows systems:
// Runs a binary located in the user's home directory. The application will run in the current working
// directory, which in general is the one where Servoy was started from.
application.executeProgramInBackground("c:\\Users\\myself\\myapp.exe", ["arg1", "arg2", "arg3"]);
// The same as above, but run the application in the user's home directory. 
application.executeProgramInBackground("c:\\Users\\myself\\myapp.exe", ["arg1", "arg2", "arg3"], null, "c:\\Users\\myself\\");	
// The same as above, but also set an environment variable for the called program.
application.executeProgramInBackground("c:\\Users\\myself\\myapp.exe", ["arg1", "arg2", "arg3"], ["MY_ENV_VAR=something"], "c:\\Users\\myself\\");
// For non-Windows systems:
application.executeProgramInBackground("/home/myself/myapp", ["arg1", "arg2", "arg3"]);
application.executeProgramInBackground("/home/myself/myapp", ["arg1", "arg2", "arg3"], null, "/home/myself/");	
application.executeProgramInBackground("/home/myself/myapp", ["arg1", "arg2", "arg3"], ["MY_ENV_VAR=something"], "/home/myself/");
// Open a file with the default application associated with it. (on Windows)
application.executeProgramInBackground("rundll32.exe", ["url.dll,FileProtocolHandler", "filename"]);	
// Open a file with the default application associated with it. (on Linux)
application.executeProgramInBackground("xdg-open", ["filename"]);
// Open a file with the default application associated with it. (on MacOS)
application.executeProgramInBackground("open", ["filename"]);
// Open a file with a specific application (on MacOS).
application.executeProgram("open", ["-a", "OpenOffice.org.app", "filename.doc"]);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=executeProgramInBackground-String_StringArray_StringArray|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;}\(program, params, environmentVars){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:executeProgramInBackground-String_StringArray_StringArray_des|trigger=button|text=}{sub-section}{sub-section:executeProgramInBackground-String_StringArray_StringArray_des|trigger=none|class=sIndent}ExecuteReplace a program in the background. Specify the cmd as you would do in a console.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:executeProgramInBackground-String_StringArray_StringArray_snc|trigger=button|text=}{sub-section}{sub-section:executeProgramInBackground-String_StringArray_StringArray_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:executeProgramInBackground-String_StringArray_StringArray_prs|trigger=button|text=}{sub-section}{sub-section:executeProgramInBackground-String_StringArray_StringArray_prs|trigger=none|class=sIndent}\{[String]} program -- (fullpath) of the program to execute
\{[String]\[]} params -- an array of strings as program arguments
\{[String]\[]} environmentVars -- array of strings, each element of which has environment variable settings in the format name=value, or null if the subprocess should inherit the environment of the current process.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:executeProgramInBackground-String_StringArray_StringArray_ret|trigger=button|text=}{sub-section}{sub-section:executeProgramInBackground-String_StringArray_StringArray_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:executeProgramInBackground-String_StringArray_StringArray_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:executeProgramInBackground-String_StringArray_StringArray_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:executeProgramInBackground-String_StringArray_StringArray_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:executeProgramInBackground-String_StringArray_StringArray_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:executeProgramInBackground-String_StringArray_StringArray_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:executeProgramInBackground-String_StringArray_StringArray_sam|trigger=none}{code:language=javascript}
// For Windows systems:
// Runs a binary located in the user's home directory. The application will run in the current working
// directory, which in general is the one where Servoy was started from.
application.executeProgramInBackground("c:\\Users\\myself\\myapp.exe", ["arg1", "arg2", "arg3"]);
// The same as above, but run the application in the user's home directory. 
application.executeProgramInBackground("c:\\Users\\myself\\myapp.exe", ["arg1", "arg2", "arg3"], null, "c:\\Users\\myself\\");	
// The same as above, but also set an environment variable for the called program.
application.executeProgramInBackground("c:\\Users\\myself\\myapp.exe", ["arg1", "arg2", "arg3"], ["MY_ENV_VAR=something"], "c:\\Users\\myself\\");
// For non-Windows systems:
application.executeProgramInBackground("/home/myself/myapp", ["arg1", "arg2", "arg3"]);
application.executeProgramInBackground("/home/myself/myapp", ["arg1", "arg2", "arg3"], null, "/home/myself/");	
application.executeProgramInBackground("/home/myself/myapp", ["arg1", "arg2", "arg3"], ["MY_ENV_VAR=something"], "/home/myself/");
// Open a file with the default application associated with it. (on Windows)
application.executeProgramInBackground("rundll32.exe", ["url.dll,FileProtocolHandler", "filename"]);	
// Open a file with the default application associated with it. (on Linux)
application.executeProgramInBackground("xdg-open", ["filename"]);
// Open a file with the default application associated with it. (on MacOS)
application.executeProgramInBackground("open", ["filename"]);
// Open a file with a specific application (on MacOS).
application.executeProgram("open", ["-a", "OpenOffice.org.app", "filename.doc"]);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=executeProgramInBackground-String_StringArray_StringArray_String|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;}\(program, params, environmentVars, startDir){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:executeProgramInBackground-String_StringArray_StringArray_String_des|trigger=button|text=}{sub-section}{sub-section:executeProgramInBackground-String_StringArray_StringArray_String_des|trigger=none|class=sIndent}ExecuteReplace a program in the background. Specify the cmd as you would do in a console.with description{sub-section}{td}{trtr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:executeProgramInBackground-String_StringArray_StringArray_String_snc|trigger=button|text=}{sub-section}{sub-section:executeProgramInBackground-String_StringArray_StringArray_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:executeProgramInBackground-String_StringArray_StringArray_String_prs|trigger=button|text=}{sub-section}{sub-section:executeProgramInBackground-String_StringArray_StringArray_String_prs|trigger=none|class=sIndent}\{[String]} program -- (fullpath) of the program to execute
\{[String]\[]} params -- an array of strings as program arguments
\{[String]\[]} environmentVars -- array of strings, each element of which has environment variable settings in the format name=value, or null if the subprocess should inherit the environment of the current process.
\{[String]} startDir -- the working directory of the subprocess, or null if the subprocess should inherit the working directory of the current process.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:executeProgramInBackground-String_StringArray_StringArray_String_ret|trigger=button|text=}{sub-section}{sub-section:executeProgramInBackground-String_StringArray_StringArray_String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:executeProgramInBackground-String_StringArray_StringArray_String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:executeProgramInBackground-String_StringArray_StringArray_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:executeProgramInBackground-String_StringArray_StringArray_String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:executeProgramInBackground-String_StringArray_StringArray_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:executeProgramInBackground-String_StringArray_StringArray_String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:executeProgramInBackground-String_StringArray_StringArray_String_sam|trigger=none}{code:language=javascript}
// For Windows systems:
// Runs a binary located in the user's home directory. The application will run in the current working
// directory, which in general is the one where Servoy was started from.
application.executeProgramInBackground("c:\\Users\\myself\\myapp.exe", ["arg1", "arg2", "arg3"]);
// The same as above, but run the application in the user's home directory. 
application.executeProgramInBackground("c:\\Users\\myself\\myapp.exe", ["arg1", "arg2", "arg3"], null, "c:\\Users\\myself\\");	
// The same as above, but also set an environment variable for the called program.
application.executeProgramInBackground("c:\\Users\\myself\\myapp.exe", ["arg1", "arg2", "arg3"], ["MY_ENV_VAR=something"], "c:\\Users\\myself\\");
// For non-Windows systems:
application.executeProgramInBackground("/home/myself/myapp", ["arg1", "arg2", "arg3"]);
application.executeProgramInBackground("/home/myself/myapp", ["arg1", "arg2", "arg3"], null, "/home/myself/");	
application.executeProgramInBackground("/home/myself/myapp", ["arg1", "arg2", "arg3"], ["MY_ENV_VAR=something"], "/home/myself/");
// Open a file with the default application associated with it. (on Windows)
application.executeProgramInBackground("rundll32.exe", ["url.dll,FileProtocolHandler", "filename"]);	
// Open a file with the default application associated with it. (on Linux)
application.executeProgramInBackground("xdg-open", ["filename"]);
// Open a file with the default application associated with it. (on MacOS)
application.executeProgramInBackground("open", ["filename"]);
// Open a file with a specific application (on MacOS).
application.executeProgram("open", ["-a", "OpenOffice.org.app", "filename.doc"]);
{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:exit_des|trigger=button|text=}{sub-section}{sub-section:exit_des|trigger=none|class=sIndent}StopReplace and exit application.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:exit_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getActiveClientCount_des|trigger=button|text=}{sub-section}{sub-section:getActiveClientCount_des|trigger=none|class=sIndent}GetReplace the active user count on the server (can be limited to current solution).with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getActiveClientCount_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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=getActiveWindow|class=node}{tr:id=name}{td}h6.getActiveWindow{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSWindow]{span}{span:id=iets|style=float: left; font-weight: bold;}getActiveWindow{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getActiveWindow_des|trigger=button|text=}{sub-section}{sub-section:getActiveWindow_des|trigger=none|class=sIndent}ThisReplace gets the currently focused active window; this can be the main application window or a modal dialog.
For a webclient getWindow() can return the main window that is not really the main for the current tab in the browser
that can return the previous tab that a user could have opened. For this method is better suited because this 
will give you the actual tab in the browser. Another call would be form.controller.getWindow() of a form that you know in which window it resides.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getActiveWindow_snc|trigger=button|text=}{sub-section}{sub-section:getActiveWindow_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:getActiveWindow_prs|trigger=button|text=}{sub-section}{sub-section:getActiveWindow_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getActiveWindow_ret|trigger=button|text=}{sub-section}{sub-section:getActiveWindow_ret|trigger=none|class=sIndent}[JSWindow] -- the current active/focussed window.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getActiveWindow_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getActiveWindow_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getActiveWindow_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getActiveWindow_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getActiveWindow_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getActiveWindow_sam|trigger=none}{code:language=javascript}
// get the currently active/focused window or dialog
var activeWindow = application.getActiveWindow();
{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getApplicationType_des|trigger=button|text=}{sub-section}{sub-section:getApplicationType_des|trigger=none|class=sIndent}GetReplace the application type.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getApplicationType_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getClientCountForInfo_des|trigger=button|text=}{sub-section}{sub-section:getClientCountForInfo_des|trigger=none|class=sIndent}GetsReplace the count for all clients displaying the same additional information 
in the Clients page of Servoy Server Administration Console.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getClientCountForInfo_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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=getClientProperty|class=node}{tr:id=name}{td}h6.getClientProperty{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Object]{span}{span:id=iets|style=float: left; font-weight: bold;}getClientProperty{span}{span:id=iets|style=float: left;}\(name){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getClientProperty_des|trigger=button|text=}{sub-section}{sub-section:getClientProperty_des|trigger=none|class=sIndent}SetsReplace a UI property.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getClientProperty_snc|trigger=button|text=}{sub-section}{sub-section:getClientProperty_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:getClientProperty_prs|trigger=button|text=}{sub-section}{sub-section:getClientProperty_prs|trigger=none|class=sIndent}\{[Object]} name -- Name of the client property
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:getClientProperty_ret|trigger=button|text=}{sub-section}{sub-section:getClientProperty_ret|trigger=none|class=sIndent}[Object] -- the property value for the given name/key, null of nothing was found{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getClientProperty_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getClientProperty_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getClientProperty_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getClientProperty_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getClientProperty_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getClientProperty_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.putClientProperty('ToolTip.hideAccelerator', true)
//To change the comboboxes selection background color, do this:
application.putClientProperty('ComboBox.selectionBackground', new Packages.javax.swing.plaf.ColorUIResource(java.awt.Color.RED)) 

//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.putClientProperty('templates.dir','green_skin');
{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getClipboardString_des|trigger=button|text=}{sub-section}{sub-section:getClipboardString_des|trigger=none|class=sIndent}GetsReplace a string from the clipboard, null if not a string or empty.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getClipboardString_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getCurrentLookAndFeelName_des|trigger=button|text=}{sub-section}{sub-section:getCurrentLookAndFeelName_des|trigger=none|class=sIndent}GetsReplace the name of the current Look And Feel specified in Application Preferences.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getCurrentLookAndFeelName_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getHostName_des|trigger=button|text=}{sub-section}{sub-section:getHostName_des|trigger=none|class=sIndent}GetReplace the name of the localhost.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getHostName_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getIPAddress_des|trigger=button|text=}{sub-section}{sub-section:getIPAddress_des|trigger=none|class=sIndent}GetReplace the clients' IP address.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getIPAddress_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getLicenseNames_des|trigger=button|text=}{sub-section}{sub-section:getLicenseNames_des|trigger=none|class=sIndent}GetReplace the names of the used client licenses (as strings in array).with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getLicenseNames_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getOSName_des|trigger=button|text=}{sub-section}{sub-section:getOSName_des|trigger=none|class=sIndent}ReturnsReplace the name of the operating system.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getOSName_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getPrinters_des|trigger=button|text=}{sub-section}{sub-section:getPrinters_des|trigger=none|class=sIndent}Get all the printer names in an array.Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getPrinters_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getScreenHeight_des|trigger=button|text=}{sub-section}{sub-section:getScreenHeight_des|trigger=none|class=sIndent}GetReplace the screen height in pixels.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getScreenHeight_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getScreenWidth_des|trigger=button|text=}{sub-section}{sub-section:getScreenWidth_des|trigger=none|class=sIndent}GetReplace the screen width in pixels.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getScreenWidth_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getServerTimeStamp_des|trigger=button|text=}{sub-section}{sub-section:getServerTimeStamp_des|trigger=none|class=sIndent}Returns a date object initialized on server with current date and time.Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getServerTimeStamp_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getServerURL_des|trigger=button|text=}{sub-section}{sub-section:getServerURL_des|trigger=none|class=sIndent}GetsReplace the HTTP server url.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getServerURL_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getSolutionName_des|trigger=button|text=}{sub-section}{sub-section:getSolutionName_des|trigger=none|class=sIndent}ReturnsReplace the name of the current solution.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getSolutionName_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getSolutionRelease_des|trigger=button|text=}{sub-section}{sub-section:getSolutionRelease_des|trigger=none|class=sIndent}GetReplace the solution release number.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getSolutionRelease_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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=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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getTimeStamp_des|trigger=button|text=}{sub-section}{sub-section:getTimeStamp_des|trigger=none|class=sIndent}Returns a date object initialized in client with current date and time.
This should be used instead of new Date() for webclients when the clients are in different times zones then the server.
Then this call will really return a time that is the locals webclients time.Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getTimeStamp_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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;}\(){span}{td}{tr}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getUUID_des|trigger=button|text=}{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.Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getUUID_snc|trigger=button|text=}{sub-section}{sub-section:getUUID_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:getUUID_prs|trigger=button|text=}{sub-section}{sub-section:getUUID_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getUUID_ret|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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=getUUID-byteArray|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;}\(byteArray){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getUUID-byteArray_des|trigger=button|text=}{sub-section}{sub-section:getUUID-byteArray_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.Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getUUID-byteArray_snc|trigger=button|text=}{sub-section}{sub-section:getUUID-byteArray_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:getUUID-byteArray_prs|trigger=button|text=}{sub-section}{sub-section:getUUID-byteArray_prs|trigger=none|class=sIndent}\{byte[]} byteArray -- Byte array representing an uuid
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:getUUID-byteArray_ret|trigger=button|text=}{sub-section}{sub-section:getUUID-byteArray_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-byteArray_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getUUID-byteArray_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getUUID-byteArray_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getUUID-byteArray_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getUUID-byteArray_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getUUID-byteArray_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=getUUID-String|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;}\(uuidString){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getUUID-String_des|trigger=button|text=}{sub-section}{sub-section:getUUID-String_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.Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getUUID-String_snc|trigger=button|text=}{sub-section}{sub-section:getUUID-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:getUUID-String_prs|trigger=button|text=}{sub-section}{sub-section:getUUID-String_prs|trigger=none|class=sIndent}\{[String]} uuidString -- String representing an uuid
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:getUUID-String_ret|trigger=button|text=}{sub-section}{sub-section:getUUID-String_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-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getUUID-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getUUID-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getUUID-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getUUID-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getUUID-String_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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getUserProperty_des|trigger=button|text=}{sub-section}{sub-section:getUserProperty_des|trigger=none|class=sIndent}GetReplace a persistent user property.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getUserProperty_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getUserPropertyNames_des|trigger=button|text=}{sub-section}{sub-section:getUserPropertyNames_des|trigger=none|class=sIndent}Get all persistent user property names.Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getUserPropertyNames_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getValueListArray_des|trigger=button|text=}{sub-section}{sub-section:getValueListArray_des|trigger=none|class=sIndent}RetrieveReplace 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.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getValueListArray_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getValueListDisplayValue_des|trigger=button|text=}{sub-section}{sub-section:getValueListDisplayValue_des|trigger=none|class=sIndent}RetrieveReplace 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.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getValueListDisplayValue_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getValueListItems_des|trigger=button|text=}{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.Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getValueListItems_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getValueListNames_des|trigger=button|text=}{sub-section}{sub-section:getValueListNames_des|trigger=none|class=sIndent}GetReplace all the valuelist names as array.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getValueListNames_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getVersion_des|trigger=button|text=}{sub-section}{sub-section:getVersion_des|trigger=none|class=sIndent}ReturnsReplace the application version.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getVersion_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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=getWindow|class=node}{tr:id=name}{td}h6.getWindow{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSWindow]{span}{span:id=iets|style=float: left; font-weight: bold;}getWindow{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getWindow_des|trigger=button|text=}{sub-section}{sub-section:getWindow_des|trigger=none|class=sIndent}Get the main application window. This is the window that is created first for this client. 
In a smart client this is always just the first started window where the solution is loaded in.
In a webclient when users (so not the developer through a createWindow() call) create there own tabs after

In a webclient the user may open the same solution in a new tab in the same browser. In that case the main solution
window will always be the first opened tab, even if that one was already closed.
application.getActiveWindow() will aways return the currently active/focused window or dialog.
If you need the window of the current top\-level form, controller.getWindow() of that form will
always return the correct window.|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getWindow_snc|trigger=button|text=}{sub-section}{sub-section:getWindow_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:getWindow_prs|trigger=button|text=}{sub-section}{sub-section:getWindow_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getWindow_ret|trigger=button|text=}{sub-section}{sub-section:getWindow_ret|trigger=none|class=sIndent}[JSWindow] -- the main application JSWindow.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getWindow_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getWindow_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getWindow_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getWindow_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getWindow_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getWindow_sam|trigger=none}{code:language=javascript}
// close and dispose window resources
var mainAppWindow = application.getWindow();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getWindow-String|class=node}{tr:id=name}{td}h6.getWindow{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSWindow]{span}{span:id=iets|style=float: left; font-weight: bold;}getWindow{span}{span:id=iets|style=float: left;}\(name){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getWindow-String_des|trigger=button|text=}{sub-section}{sub-section:getWindow-String_des|trigger=none|class=sIndent}GetReplace a window by window name. When not supplying a name, the main application window is grabbed.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getWindow-String_snc|trigger=button|text=}{sub-section}{sub-section:getWindow-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:getWindow-String_prs|trigger=button|text=}{sub-section}{sub-section:getWindow-String_prs|trigger=none|class=sIndent}\{[String]} name -- the name of the window. If not specified, the main application JSWindow will be returned.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:getWindow-String_ret|trigger=button|text=}{sub-section}{sub-section:getWindow-String_ret|trigger=none|class=sIndent}[JSWindow] -- the JSWindow with the specified name, or null if no such window exists.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getWindow-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getWindow-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getWindow-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getWindow-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getWindow-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getWindow-String_sam|trigger=none}{code:language=javascript}
// close and dispose window resources
var win = application.getWindow("someWindowName");
if (win != null) {
	win.destroy();
}
{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:isInDeveloper_des|trigger=button|text=}{sub-section}{sub-section:isInDeveloper_des|trigger=none|class=sIndent}ReturnsReplace true if the solution is running in the developer.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:isInDeveloper_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:isLastPrintPreviewPrinted_des|trigger=button|text=}{sub-section}{sub-section:isLastPrintPreviewPrinted_des|trigger=none|class=sIndent}CheckReplace if the last printpreview did print.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:isLastPrintPreviewPrinted_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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 scopes.globals.showPrintPreview to 1 in the onPrintPreview method
if (scopes.globals.showPrintPreview == 1)
{
	scopes.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-Object|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){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:output-Object_des|trigger=button|text=}{sub-section}{sub-section:output-Object_des|trigger=none|class=sIndent}OutputReplace something on the out stream. (if running in debugger view output console tab)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:output-Object_snc|trigger=button|text=}{sub-section}{sub-section:output-Object_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:output-Object_prs|trigger=button|text=}{sub-section}{sub-section:output-Object_prs|trigger=none|class=sIndent}\{[Object]} msg -- Object to send to output stream
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:output-Object_ret|trigger=button|text=}{sub-section}{sub-section:output-Object_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:output-Object_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:output-Object_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:output-Object_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:output-Object_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:output-Object_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:output-Object_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
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=output-Object_Number|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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:output-Object_Number_des|trigger=button|text=}{sub-section}{sub-section:output-Object_Number_des|trigger=none|class=sIndent}OutputReplace something on the out stream. (if running in debugger view output console tab)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:output-Object_Number_snc|trigger=button|text=}{sub-section}{sub-section:output-Object_Number_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:output-Object_Number_prs|trigger=button|text=}{sub-section}{sub-section:output-Object_Number_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-Object_Number_ret|trigger=button|text=}{sub-section}{sub-section:output-Object_Number_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:output-Object_Number_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:output-Object_Number_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:output-Object_Number_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:output-Object_Number_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:output-Object_Number_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:output-Object_Number_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 msg',LOGGINGLEVEL.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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:overrideStyle_des|trigger=button|text=}{sub-section}{sub-section:overrideStyle_des|trigger=none|class=sIndent}Overrides one style (defined in in a form) with another.Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:overrideStyle_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:playSound_des|trigger=button|text=}{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).none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:playSound_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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=putClientProperty|class=node}{tr:id=name}{td}h6.putClientProperty{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}putClientProperty{span}{span:id=iets|style=float: left;}\(name, value){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:putClientProperty_des|trigger=button|text=}{sub-section}{sub-section:putClientProperty_des|trigger=none|class=sIndent}SetsReplace a UI property.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:putClientProperty_snc|trigger=button|text=}{sub-section}{sub-section:putClientProperty_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:putClientProperty_prs|trigger=button|text=}{sub-section}{sub-section:putClientProperty_prs|trigger=none|class=sIndent}\{[Object]} name -- Name of the client property
\{[Object]} value -- New value of the client property
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:putClientProperty_ret|trigger=button|text=}{sub-section}{sub-section:putClientProperty_ret|trigger=none|class=sIndent}[Boolean] -- Boolean (true) if the client property was set with the new value{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:putClientProperty_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:putClientProperty_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:putClientProperty_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:putClientProperty_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:putClientProperty_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:putClientProperty_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.putClientProperty('ToolTip.hideAccelerator', true)
//To change the comboboxes selection background color, do this:
application.putClientProperty('ComboBox.selectionBackground', new Packages.javax.swing.plaf.ColorUIResource(java.awt.Color.RED)) 

//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.putClientProperty('templates.dir','green_skin');
{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:redo_des|trigger=button|text=}{sub-section}{sub-section:redo_des|trigger=none|class=sIndent}RedoReplace last action (if possible).with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:redo_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:removeAllClientInfo_des|trigger=button|text=}{sub-section}{sub-section:removeAllClientInfo_des|trigger=none|class=sIndent}RemovesReplace all names given to the client via the admin page.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:removeAllClientInfo_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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=removeClientInfo|class=node}{tr:id=name}{td}h6.removeClientInfo{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}removeClientInfo{span}{span:id=iets|style=float: left;}\(info){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:removeClientInfo_des|trigger=button|text=}{sub-section}{sub-section:removeClientInfo_des|trigger=none|class=sIndent}RemovesReplace a string of client information which is stored on the server and
previously was added using the application.addClientInfo('client info')

This function can be called more than once, if you want to delete multiple
lines of client information.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:removeClientInfo_snc|trigger=button|text=}{sub-section}{sub-section:removeClientInfo_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:removeClientInfo_prs|trigger=button|text=}{sub-section}{sub-section:removeClientInfo_prs|trigger=none|class=sIndent}\{[String]} info -- A line of text to be removed from the client information
            on behalf of the running Servoy client.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:removeClientInfo_ret|trigger=button|text=}{sub-section}{sub-section:removeClientInfo_ret|trigger=none|class=sIndent}[Boolean] -- boolean indicator if info was removed successfully{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:removeClientInfo_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:removeClientInfo_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:removeClientInfo_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:removeClientInfo_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:removeClientInfo_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:removeClientInfo_sam|trigger=none}{code:language=javascript}
var removed = application.removeClientInfo('SaaS company name');
{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setClipboardContent_des|trigger=button|text=}{sub-section}{sub-section:setClipboardContent_des|trigger=none|class=sIndent}SetsReplace a string object in the clipboard.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setClipboardContent_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setNumpadEnterAsFocusNextEnabled_des|trigger=button|text=}{sub-section}{sub-section:setNumpadEnterAsFocusNextEnabled_des|trigger=none|class=sIndent}SetReplace if numpad enter should behave like focus next.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setNumpadEnterAsFocusNextEnabled_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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-String|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){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setStatusText-String_des|trigger=button|text=}{sub-section}{sub-section:setStatusText-String_des|trigger=none|class=sIndent}SetReplace the status area value.with description{sub-section}{td}{trtr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setStatusText-String_snc|trigger=button|text=}{sub-section}{sub-section:setStatusText-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setStatusText-String_prs|trigger=button|text=}{sub-section}{sub-section:setStatusText-String_prs|trigger=none|class=sIndent}\{[String]} text -- New status text
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setStatusText-String_ret|trigger=button|text=}{sub-section}{sub-section:setStatusText-String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setStatusText-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setStatusText-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setStatusText-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setStatusText-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setStatusText-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setStatusText-String_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=setStatusText-String_String|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, tooltip){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setStatusText-String_String_des|trigger=button|text=}{sub-section}{sub-section:setStatusText-String_String_des|trigger=none|class=sIndent}SetReplace the status area value.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setStatusText-String_String_snc|trigger=button|text=}{sub-section}{sub-section:setStatusText-String_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setStatusText-String_String_prs|trigger=button|text=}{sub-section}{sub-section:setStatusText-String_String_prs|trigger=none|class=sIndent}\{[String]} text -- New status text
\{[String]} tooltip -- Status tooltip text
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setStatusText-String_String_ret|trigger=button|text=}{sub-section}{sub-section:setStatusText-String_String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setStatusText-String_String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setStatusText-String_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setStatusText-String_String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setStatusText-String_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setStatusText-String_String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setStatusText-String_String_sam|trigger=none}{code:language=javascript}
application.setStatusText('Your status text','Your status tooltip 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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setToolbarVisible_des|trigger=button|text=}{sub-section}{sub-section:setToolbarVisible_des|trigger=none|class=sIndent}MakeReplace a toolbar visible or invisible.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setToolbarVisible_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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=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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setUserProperty_des|trigger=button|text=}{sub-section}{sub-section:setUserProperty_des|trigger=none|class=sIndent}SetReplace a persistent user property.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setUserProperty_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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-String_JSDataSet|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, dataset){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setValueListItems-String_JSDataSet_des|trigger=button|text=}{sub-section}{sub-section:setValueListItems-String_JSDataSet_des|trigger=none|class=sIndent}Fill a custom type valuelist with values from array(s) or dataset.

NOTE: if you modify values for checkbox/radio field, note that having one value in valuelist is a special case, so switching between one value and 0/multiple values after form is created may have side effectsReplace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setValueListItems-String_JSDataSet_snc|trigger=button|text=}{sub-section}{sub-section:setValueListItems-String_JSDataSet_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setValueListItems-String_JSDataSet_prs|trigger=button|text=}{sub-section}{sub-section:setValueListItems-String_JSDataSet_prs|trigger=none|class=sIndent}\{[String]} name -- Name of the valuelist
\{[JSDataSet]} dataset -- Dataset with display/real values
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setValueListItems-String_JSDataSet_ret|trigger=button|text=}{sub-section}{sub-section:setValueListItems-String_JSDataSet_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setValueListItems-String_JSDataSet_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setValueListItems-String_JSDataSet_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setValueListItems-String_JSDataSet_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setValueListItems-String_JSDataSet_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setValueListItems-String_JSDataSet_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setValueListItems-String_JSDataSet_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=setValueListItems-String_JSDataSet_Boolean|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, dataset, autoconvert){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setValueListItems-String_JSDataSet_Boolean_des|trigger=button|text=}{sub-section}{sub-section:setValueListItems-String_JSDataSet_Boolean_des|trigger=none|class=sIndent}Fill a custom type valuelist with values from array(s) or dataset.

NOTE: if you modify values for checkbox/radio field, note that having one value in valuelist is a special case, so switching between one value and 0/multiple values after form is created may have side effectsbutton|text=}{sub-section}{sub-section:setValueListItems-String_JSDataSet_Boolean_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setValueListItems-String_JSDataSet_Boolean_snc|trigger=button|text=}{sub-section}{sub-section:setValueListItems-String_JSDataSet_Boolean_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setValueListItems-String_JSDataSet_Boolean_prs|trigger=button|text=}{sub-section}{sub-section:setValueListItems-String_JSDataSet_Boolean_prs|trigger=none|class=sIndent}\{[String]} name -- Name of the valuelist
\{[JSDataSet]} dataset -- Dataset with display/real values
\{[Boolean]} autoconvert -- 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-String_JSDataSet_Boolean_ret|trigger=button|text=}{sub-section}{sub-section:setValueListItems-String_JSDataSet_Boolean_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setValueListItems-String_JSDataSet_Boolean_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setValueListItems-String_JSDataSet_Boolean_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setValueListItems-String_JSDataSet_Boolean_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setValueListItems-String_JSDataSet_Boolean_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setValueListItems-String_JSDataSet_Boolean_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setValueListItems-String_JSDataSet_Boolean_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=setValueListItems-String_ObjectArray|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, displayValues){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setValueListItems-String_ObjectArray_des|trigger=button|text=}{sub-section}{sub-section:setValueListItems-String_ObjectArray_des|trigger=none|class=sIndent}Fill a custom type valuelist with values from array(s) or dataset.

NOTE: if you modify values for checkbox/radio field, note that having one value in valuelist is a special case, so switching between one value and 0/multiple values after form is created may have side effectsReplace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setValueListItems-String_ObjectArray_snc|trigger=button|text=}{sub-section}{sub-section:setValueListItems-String_ObjectArray_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setValueListItems-String_ObjectArray_prs|trigger=button|text=}{sub-section}{sub-section:setValueListItems-String_ObjectArray_prs|trigger=none|class=sIndent}\{[String]} name -- Name of the valuelist
\{[Object]\[]} displayValues -- Display values array
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setValueListItems-String_ObjectArray_ret|trigger=button|text=}{sub-section}{sub-section:setValueListItems-String_ObjectArray_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setValueListItems-String_ObjectArray_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setValueListItems-String_ObjectArray_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setValueListItems-String_ObjectArray_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setValueListItems-String_ObjectArray_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setValueListItems-String_ObjectArray_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setValueListItems-String_ObjectArray_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=setValueListItems-String_ObjectArray_Boolean|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, displayValues, autoconvert){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setValueListItems-String_ObjectArray_Boolean_des|trigger=button|text=}{sub-section}{sub-section:setValueListItems-String_ObjectArray_Boolean_des|trigger=none|class=sIndent}Fill a custom type valuelist with values from array(s) or dataset.

NOTE: if you modify values for checkbox/radio field, note that having one value in valuelist is a special case, so switching between one value and 0/multiple values after form is created may have side effects|text=}{sub-section}{sub-section:setValueListItems-String_ObjectArray_Boolean_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setValueListItems-String_ObjectArray_Boolean_snc|trigger=button|text=}{sub-section}{sub-section:setValueListItems-String_ObjectArray_Boolean_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setValueListItems-String_ObjectArray_Boolean_prs|trigger=button|text=}{sub-section}{sub-section:setValueListItems-String_ObjectArray_Boolean_prs|trigger=none|class=sIndent}\{[String]} name -- Name of the valuelist
\{[Object]\[]} displayValues -- Display values array
\{[Boolean]} autoconvert -- 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-String_ObjectArray_Boolean_ret|trigger=button|text=}{sub-section}{sub-section:setValueListItems-String_ObjectArray_Boolean_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setValueListItems-String_ObjectArray_Boolean_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setValueListItems-String_ObjectArray_Boolean_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setValueListItems-String_ObjectArray_Boolean_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setValueListItems-String_ObjectArray_Boolean_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setValueListItems-String_ObjectArray_Boolean_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setValueListItems-String_ObjectArray_Boolean_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=setValueListItems-String_ObjectArray_ObjectArray|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, displayValues, realValues){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setValueListItems-String_ObjectArray_ObjectArray_des|trigger=button|text=}{sub-section}{sub-section:setValueListItems-String_ObjectArray_ObjectArray_des|trigger=none|class=sIndent}Fill a custom type valuelist with values from array(s) or dataset.

NOTE: if you modify values for checkbox/radio field, note that having one value in valuelist is a special case, so switching between one value and 0/multiple values after form is created may have side effectsReplace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setValueListItems-String_ObjectArray_ObjectArray_snc|trigger=button|text=}{sub-section}{sub-section:setValueListItems-String_ObjectArray_ObjectArray_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setValueListItems-String_ObjectArray_ObjectArray_prs|trigger=button|text=}{sub-section}{sub-section:setValueListItems-String_ObjectArray_ObjectArray_prs|trigger=none|class=sIndent}\{[String]} name -- Name of the valuelist
\{[Object]\[]} displayValues -- Display values array
\{[Object]\[]} realValues -- Real values array
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setValueListItems-String_ObjectArray_ObjectArray_ret|trigger=button|text=}{sub-section}{sub-section:setValueListItems-String_ObjectArray_ObjectArray_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setValueListItems-String_ObjectArray_ObjectArray_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setValueListItems-String_ObjectArray_ObjectArray_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setValueListItems-String_ObjectArray_ObjectArray_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setValueListItems-String_ObjectArray_ObjectArray_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setValueListItems-String_ObjectArray_ObjectArray_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setValueListItems-String_ObjectArray_ObjectArray_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=setValueListItems-String_ObjectArray_ObjectArray_Boolean|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, displayValues, realValues, autoconvert){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setValueListItems-String_ObjectArray_ObjectArray_Boolean_des|trigger=button|text=}{sub-section}{sub-section:setValueListItems-String_ObjectArray_ObjectArray_Boolean_des|trigger=none|class=sIndent}Fill a custom type valuelist with values from array(s) or dataset.

NOTE: if you modify values for checkbox/radio field, note that having one value in valuelist is a special case, so switching between one value and 0/multiple values after form is created may have side effectsReplace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setValueListItems-String_ObjectArray_ObjectArray_Boolean_snc|trigger=button|text=}{sub-section}{sub-section:setValueListItems-String_ObjectArray_ObjectArray_Boolean_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setValueListItems-String_ObjectArray_ObjectArray_Boolean_prs|trigger=button|text=}{sub-section}{sub-section:setValueListItems-String_ObjectArray_ObjectArray_Boolean_prs|trigger=none|class=sIndent}\{[String]} name
\{[Object]\[]} displayValues -- Display values array
\{[Object]\[]} realValues -- Real values array
\{[Boolean]} autoconvert -- 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-String_ObjectArray_ObjectArray_Boolean_ret|trigger=button|text=}{sub-section}{sub-section:setValueListItems-String_ObjectArray_ObjectArray_Boolean_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setValueListItems-String_ObjectArray_ObjectArray_Boolean_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setValueListItems-String_ObjectArray_ObjectArray_Boolean_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setValueListItems-String_ObjectArray_ObjectArray_Boolean_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setValueListItems-String_ObjectArray_ObjectArray_Boolean_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setValueListItems-String_ObjectArray_ObjectArray_Boolean_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setValueListItems-String_ObjectArray_ObjectArray_Boolean_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=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;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showCalendar_des|trigger=button|text=}{sub-section}{sub-section:showCalendar_des|trigger=none|class=sIndent}ShowReplace the calendar, returns selected date or null if canceled. Initial value and date format can be also specified.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showCalendar_snc|trigger=button|text=}{sub-section}{sub-section:showCalendar_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:showCalendar_prs|trigger=button|text=}{sub-section}{sub-section:showCalendar_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:showCalendar_ret|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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=showCalendar-String|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;}\(dateFormat){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showCalendar-String_des|trigger=button|text=}{sub-section}{sub-section:showCalendar-String_des|trigger=none|class=sIndent}ShowReplace the calendar, returns selected date or null if canceled. Initial value and date format can be also specified.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showCalendar-String_snc|trigger=button|text=}{sub-section}{sub-section:showCalendar-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showCalendar-String_prs|trigger=button|text=}{sub-section}{sub-section:showCalendar-String_prs|trigger=none|class=sIndent}\{[String]} dateFormat -- Date format
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showCalendar-String_ret|trigger=button|text=}{sub-section}{sub-section:showCalendar-String_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-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showCalendar-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showCalendar-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showCalendar-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showCalendar-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showCalendar-String_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=showCalendar-Date|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){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showCalendar-Date_des|trigger=button|text=}{sub-section}{sub-section:showCalendar-Date_des|trigger=none|class=sIndent}ShowReplace the calendar, returns selected date or null if canceled. Initial value and date format can be also specified.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showCalendar-Date_snc|trigger=button|text=}{sub-section}{sub-section:showCalendar-Date_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showCalendar-Date_prs|trigger=button|text=}{sub-section}{sub-section:showCalendar-Date_prs|trigger=none|class=sIndent}\{[Date]} selectedDate -- Default selected date
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showCalendar-Date_ret|trigger=button|text=}{sub-section}{sub-section:showCalendar-Date_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-Date_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showCalendar-Date_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showCalendar-Date_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showCalendar-Date_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showCalendar-Date_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showCalendar-Date_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=showCalendar-Date_String|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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showCalendar-Date_String_des|trigger=button|text=}{sub-section}{sub-section:showCalendar-Date_String_des|trigger=none|class=sIndent}ShowReplace the calendar, returns selected date or null if canceled. Initial value and date format can be also specified.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showCalendar-Date_String_snc|trigger=button|text=}{sub-section}{sub-section:showCalendar-Date_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showCalendar-Date_String_prs|trigger=button|text=}{sub-section}{sub-section:showCalendar-Date_String_prs|trigger=none|class=sIndent}\{[Date]} selectedDate -- Default selected date
\{[String]} dateFormat -- Date format
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showCalendar-Date_String_ret|trigger=button|text=}{sub-section}{sub-section:showCalendar-Date_String_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-Date_String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showCalendar-Date_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showCalendar-Date_String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showCalendar-Date_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showCalendar-Date_String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showCalendar-Date_String_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;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showColorChooser_des|trigger=button|text=}{sub-section}{sub-section:showColorChooser_des|trigger=none|class=sIndent}ShowReplace the colorChooser. Returned value is in format #RRGGBB or null if canceled.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showColorChooser_snc|trigger=button|text=}{sub-section}{sub-section:showColorChooser_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:showColorChooser_prs|trigger=button|text=}{sub-section}{sub-section:showColorChooser_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:showColorChooser_ret|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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=showColorChooser-String|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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showColorChooser-String_des|trigger=button|text=}{sub-section}{sub-section:showColorChooser-String_des|trigger=none|class=sIndent}Show the colorChooser. Returned value is in format #RRGGBB or null if canceled.|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showColorChooser-String_snc|trigger=button|text=}{sub-section}{sub-section:showColorChooser-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showColorChooser-String_prs|trigger=button|text=}{sub-section}{sub-section:showColorChooser-String_prs|trigger=none|class=sIndent}\{[String]} colorString -- Default color
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showColorChooser-String_ret|trigger=button|text=}{sub-section}{sub-section:showColorChooser-String_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-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showColorChooser-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showColorChooser-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showColorChooser-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showColorChooser-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showColorChooser-String_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;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showFontChooser_des|trigger=button|text=}{sub-section}{sub-section:showFontChooser_des|trigger=none|class=sIndent}ShowReplace the font chooser dialog. Returns the selected font. Can specify a default font.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showFontChooser_snc|trigger=button|text=}{sub-section}{sub-section:showFontChooser_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:showFontChooser_prs|trigger=button|text=}{sub-section}{sub-section:showFontChooser_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:showFontChooser_ret|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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=showFontChooser-String|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;}\(defaultFont){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showFontChooser-String_des|trigger=button|text=}{sub-section}{sub-section:showFontChooser-String_des|trigger=none|class=sIndent}ShowReplace the font chooser dialog. Returns the selected font. Can specify a default font.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showFontChooser-String_snc|trigger=button|text=}{sub-section}{sub-section:showFontChooser-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showFontChooser-String_prs|trigger=button|text=}{sub-section}{sub-section:showFontChooser-String_prs|trigger=none|class=sIndent}\{[String]} defaultFont -- Default font
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showFontChooser-String_ret|trigger=button|text=}{sub-section}{sub-section:showFontChooser-String_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-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showFontChooser-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showFontChooser-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showFontChooser-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showFontChooser-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showFontChooser-String_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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showForm_des|trigger=button|text=}{sub-section}{sub-section:showForm_des|trigger=none|class=sIndent}ShowReplace the form specified by the parameter, that can be a name (is case sensitive!) or a form object.
This will show the form in the active/currently focused window. So when called from a form in a dialog the dialog will show the form.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showForm_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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=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;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showI18NDialog_des|trigger=button|text=}{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.trigger=button|text=}{sub-section}{sub-section:showI18NDialog_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showI18NDialog_snc|trigger=button|text=}{sub-section}{sub-section:showI18NDialog_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:showI18NDialog_prs|trigger=button|text=}{sub-section}{sub-section:showI18NDialog_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:showI18NDialog_ret|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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=showI18NDialog-String|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){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showI18NDialog-String_des|trigger=button|text=}{sub-section}{sub-section:showI18NDialog-String_des|trigger=none|class=sIndent}OpensReplace 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.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showI18NDialog-String_snc|trigger=button|text=}{sub-section}{sub-section:showI18NDialog-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showI18NDialog-String_prs|trigger=button|text=}{sub-section}{sub-section:showI18NDialog-String_prs|trigger=none|class=sIndent}\{[String]} keyToSelect -- Default selected key
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showI18NDialog-String_ret|trigger=button|text=}{sub-section}{sub-section:showI18NDialog-String_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-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showI18NDialog-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showI18NDialog-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showI18NDialog-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showI18NDialog-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showI18NDialog-String_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=showI18NDialog-String_String|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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showI18NDialog-String_String_des|trigger=button|text=}{sub-section}{sub-section:showI18NDialog-String_String_des|trigger=none|class=sIndent}OpensReplace 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.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showI18NDialog-String_String_snc|trigger=button|text=}{sub-section}{sub-section:showI18NDialog-String_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showI18NDialog-String_String_prs|trigger=button|text=}{sub-section}{sub-section:showI18NDialog-String_String_prs|trigger=none|class=sIndent}\{[String]} keyToSelect -- Default selected key
\{[String]} languageToSelect -- Default selected language
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showI18NDialog-String_String_ret|trigger=button|text=}{sub-section}{sub-section:showI18NDialog-String_String_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-String_String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showI18NDialog-String_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showI18NDialog-String_String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showI18NDialog-String_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showI18NDialog-String_String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showI18NDialog-String_String_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-String|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){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showURL-String_des|trigger=button|text=}{sub-section}{sub-section:showURL-String_des|trigger=none|class=sIndent}ShowsReplace an URL in a browser.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showURL-String_snc|trigger=button|text=}{sub-section}{sub-section:showURL-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showURL-String_prs|trigger=button|text=}{sub-section}{sub-section:showURL-String_prs|trigger=none|class=sIndent}\{[String]} url -- URL to show
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showURL-String_ret|trigger=button|text=}{sub-section}{sub-section:showURL-String_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-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showURL-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showURL-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showURL-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showURL-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showURL-String_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=showURL-String_String|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){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showURL-String_String_des|trigger=button|text=}{sub-section}{sub-section:showURL-String_String_des|trigger=none|class=sIndent}ShowsReplace an URL in a browser.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showURL-String_String_snc|trigger=button|text=}{sub-section}{sub-section:showURL-String_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showURL-String_String_prs|trigger=button|text=}{sub-section}{sub-section:showURL-String_String_prs|trigger=none|class=sIndent}\{[String]} url -- URL to show
\{[String]} webclientTarget -- Target frame or named dialog/window
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showURL-String_String_ret|trigger=button|text=}{sub-section}{sub-section:showURL-String_String_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-String_String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showURL-String_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showURL-String_String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showURL-String_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showURL-String_String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showURL-String_String_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=showURL-String_String_Number|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, timeout){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showURL-String_String_Number_des|trigger=button|text=}{sub-section}{sub-section:showURL-String_String_Number_des|trigger=none|class=sIndent}ShowsReplace an URL in a browser.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showURL-String_String_Number_snc|trigger=button|text=}{sub-section}{sub-section:showURL-String_String_Number_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showURL-String_String_Number_prs|trigger=button|text=}{sub-section}{sub-section:showURL-String_String_Number_prs|trigger=none|class=sIndent}\{[String]} url -- URL to show
\{[String]} webclientTarget -- Target frame or named dialog/window
\{[Number]} timeout -- A timeout in seconds when the url should be shown
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showURL-String_String_Number_ret|trigger=button|text=}{sub-section}{sub-section:showURL-String_String_Number_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-String_String_Number_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showURL-String_String_Number_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showURL-String_String_Number_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showURL-String_String_Number_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showURL-String_String_Number_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showURL-String_String_Number_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=showURL-String_String_String|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){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showURL-String_String_String_des|trigger=button|text=}{sub-section}{sub-section:showURL-String_String_String_des|trigger=none|class=sIndent}ShowsReplace an URL in a browser.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showURL-String_String_String_snc|trigger=button|text=}{sub-section}{sub-section:showURL-String_String_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showURL-String_String_String_prs|trigger=button|text=}{sub-section}{sub-section:showURL-String_String_String_prs|trigger=none|class=sIndent}\{[String]} url -- URL to show
\{[String]} webclientTarget -- Target frame or named dialog/window
\{[String]} webclientTargetOptions -- Dialog options used when a dialog is specified / a timeout in seconds when the url should be shown
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showURL-String_String_String_ret|trigger=button|text=}{sub-section}{sub-section:showURL-String_String_String_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-String_String_String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showURL-String_String_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showURL-String_String_String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showURL-String_String_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showURL-String_String_String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showURL-String_String_String_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=showURL-String_String_String_Number|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){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showURL-String_String_String_Number_des|trigger=button|text=}{sub-section}{sub-section:showURL-String_String_String_Number_des|trigger=none|class=sIndent}ShowsReplace an URL in a browser.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showURL-String_String_String_Number_snc|trigger=button|text=}{sub-section}{sub-section:showURL-String_String_String_Number_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showURL-String_String_String_Number_prs|trigger=button|text=}{sub-section}{sub-section:showURL-String_String_String_Number_prs|trigger=none|class=sIndent}\{[String]} url -- URL to show
\{[String]} webclientTarget -- Target frame or named dialog/window
\{[String]} webclientTargetOptions -- Dialog options used when a dialog is specified / a timeout in seconds when the url should be shown
\{[Number]} timeout -- A timeout in seconds when the url should be shown
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showURL-String_String_String_Number_ret|trigger=button|text=}{sub-section}{sub-section:showURL-String_String_String_Number_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-String_String_String_Number_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showURL-String_String_String_Number_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showURL-String_String_String_Number_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showURL-String_String_String_Number_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showURL-String_String_String_Number_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showURL-String_String_String_Number_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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:sleep_des|trigger=button|text=}{sub-section}{sub-section:sleep_des|trigger=none|class=sIndent}SleepReplace for specified time (in milliseconds).with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:sleep_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:undo_des|trigger=button|text=}{sub-section}{sub-section:undo_des|trigger=none|class=sIndent}UndoReplace last action (if possible).with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:undo_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:updateUI_des|trigger=button|text=}{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.
Warning: this gives the UI time to paint, but this also means that it will give the ui time to respond to all other events,
so if a user keeps clicking on other stuff this will also be handled right away inside this call.}{sub-section:updateUI_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:updateUI_snc|trigger=button|text=}{sub-section}{sub-section:updateUI_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:updateUI_prs|trigger=button|text=}{sub-section}{sub-section:updateUI_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:updateUI_ret|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:updateUI_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=sam}{td}*Sample*\\{sub-section:updateUI_sam|trigger=button|text=}{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}{builder-show}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=updateUI-Number|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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:updateUI-Number_des|trigger=button|text=}{sub-section}{sub-section:updateUI-Number_des|trigger=none|class=sIndent}UpdatesReplace 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.
Warning: this gives the UI time to paint, but this also means that it will give the ui time to respond to all other events,
so if a user keeps clicking on other stuff this will also be handled right away inside this call.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:updateUI-Number_snc|trigger=button|text=}{sub-section}{sub-section:updateUI-Number_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:updateUI-Number_prs|trigger=button|text=}{sub-section}{sub-section:updateUI-Number_prs|trigger=none|class=sIndent}\{[Number]} milliseconds -- How long the update should take in milliseconds
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:updateUI-Number_ret|trigger=button|text=}{sub-section}{sub-section:updateUI-Number_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:updateUI-Number_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:updateUI-Number_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:updateUI-Number_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:updateUI-Number_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=sam}{td}*Sample*\\{sub-section:updateUI-Number_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:updateUI-Number_sam|trigger=none}{code:language=javascript}
application.updateUI(500);
//continue doing things
{code}{sub-section}{div}{td}{tr}{builder-show}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}