The Verj.io JavaScript API provides a suite of common functions for interacting with the application.
For example, you can access fields on your form with fields.myField
and controls with controls.myControl
.
To access the Verj.io JavaScript API, the following two lines must be included at the beginning of a script. These lines are inserted automatically when a new script is created.
importPackage(com.ebasetech.xi.api);
importPackage(com.ebasetech.xi.services);
At any time you can use Intellisense (built-in documentation and code-completion) by pressing Ctrl+Space; this will bring up a list of available options.
