UI window specification
You can parametrize UI window’s layout and behaviour for different use cases by using parameters passed on window opening: parameters can be of any Javascript type and passed as a paramter to the UI.openWindow method.
To create an UI window go to an application -> Specifications -> UI Apps -> UI Specifications -> Create UI window -> enter the name of the specification -> click Create. It will create a specification of UIWindow type.
UIWindow specifications have the following fields:
- Window configuration - Javascript ending with
returnstatement that returns an object representing the window configuration. The script can use the following predefined variables:$params(type: any) references parameters passed onUI.openWindowcall.
- Layout - HTML that defines the content of the window.
- Layout configuration - Javascript that initializes views on HTML elements from the Layout. The script can use the following predefined variables:
$win(type:UIWindowclass) references the current window object$params(type: any) references parameters passed onUI.openWindowcall.
Last updated on