Using the Web Designer Script Editor

Use the Web Designer's Script Editor form to create or edit either form scripts or global scripts.

To launch the Web Designer Script Editor:

  1. Use a web client to launch Mongoose.
  2. From the selected configuration that displays, launch the Web Designer.
  3. Select Edit > Script.
  4. In the Global Objects, Scripts form, perform one of these operations:
    1. To edit an existing script, select the script to edit from the list in the left panel.
      If you want to edit an existing script and you have not yet checked it out, a warning displays that it is not locked. You must check it out before you edit, or your edits cannot be saved.

      If someone else has it checked out, the warning tells you who currently has it locked.

    2. To create a new script, click the New button (plus sign icon: +) at the bottom of the left panel. Then assign it a name and click OK.
    3. To create a copy of an existing script that you can then modify for your purposes, first select from the list the script you want to copy. Then click the Copy button (document copies icon) at the bottom of the left panel. Assign the script a name and click OK.
  5. Launch the Web Designer Script Editor.
    To launch the editor, perform one of these steps:
    1. If you are editing an existing script, first click the Design (pencil icon) button, and then click the ellipses (•••) button on the Name row.
    2. If you are creating a new script or copying an existing script, click the ellipses () button on the Name row.
      • If you are editing or copying (then editing) an existing script, the Script Editor displays the script.
      • If you are creating a new script, the Script Editor displays a basic template as a "starter" for your script.
  6. Use the Script Editor to create or edit the script.
  7. Optionally, when you are finished writing the script, to compile the script, click Compile Result.
  8. When you are finished, remember to check in the resulting script, whether it is existing or new.