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:
- Use a web client to launch Mongoose.
- From the selected configuration that displays, launch the Web Designer.
- Select Edit > Script.
-
In the Global Objects - Scripts form, perform one of these
operations:
-
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.
- 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.
- 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.
-
To edit an existing script, select the script to edit from the list in
the left panel.
-
Launch the Web Designer Script Editor.
To launch the editor, perform one of these steps:
- If you are editing an existing script, first click the Design (pencil icon) button, and then click the ellipses (…) button on the Name row.
- 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.
- Use the Script Editor to create or edit the script.
- Optionally, when you are finished writing the script, to compile the script, click Compile Result.
- When you are finished, remember to check in the resulting script, whether it is existing or new.