You can edit an existing action hook with the Script editor
in the Designer.
Before you begin
The Designer provides a different Script editor for VBScript
and Perl, and notes the editor type in the title bar of the
HCL Compass window.
Verify that you are in the correct editor before writing your code.
If you double-click a cell that has scripts written in both languages,
both script editors start.
Procedure
To
edit an action hook:
- Start the Designer.
-
In the Schema Repository Explorer view, expand the Record Types or
Record Types - Stateless folder in your schema and then double-click on a
record type.
The record type editor opens.
- Click the Actions tab to view the
Record Actions grid.
- Double-click in the cell that contains the hook you want
to edit. The Script editor starts.
- Edit the hook. The calling syntax for that hook is added
to the Script editor. The calling syntax cannot be edited.
- When you are finished, close the Script editor.