Open a JavaScript Module

To open a JavaScript module:

  1. In the Connections panel, select the module name under JavaScript Modules, or right-click the module name and click Open.

    If the module is newly created using the Create action in the context menu, the module’s content is //add you code here.

    You can add code or modify the existing code in the module. If the code has any syntax errors, the errors are underlined and the file’s name turns to red. Also, the syntax errors appear in the Problems panel.

  2. Click the Compile icon to save the code to the database.

    After compiling the module, the result is displayed in the Script Output panel. If the execution finishes with errors, these appear in the Problems panel.