- CBXFORMCONTAINER.getWindow("CONTAINER_ID", config)
Use this Canvas provides the following APIs for rendering form containers:
- getWindow
- getWindowByFormId
- getWindowByFormObj
getWindow() API
Use the getWindow API to open a blank form using the container id without any data being displayed on the form.
The syntax for this API is:
Code Block | ||
---|---|---|
| ||
CBXFORMCONTAINER.getWindow("CONTAINER_ID", config) /* * In this API, |
...
* 'CONTAINER_ID |
...
' is a mandatory parameter. This should be the container, which has the Form |
...
ID configured to it. |
...
* 'config' is an optional parameter. This parameter should contain the configuration of the container. |
A sample code for reference is shown belowas follows:
Code Block | ||
---|---|---|
| ||
CBXFORMCONTAINER.getWindow("CONTAINER_EVE_TYPE_MASTER"); |
...