Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  • CBXFORMCONTAINER.getWindow("CONTAINER_ID", config)

Use this Canvas provides the following APIs for rendering form containers:

  1. getWindow
  2. getWindowByFormId
  3. 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
languagejs
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
languagejs
CBXFORMCONTAINER.getWindow("CONTAINER_EVE_TYPE_MASTER");

...