Editing action hooks

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:
  1. Start the Designer.
  2. 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.
  3. Click the Actions tab to view the Record Actions grid.
  4. Double-click in the cell that contains the hook you want to edit. The Script editor starts.
  5. Edit the hook. The calling syntax for that hook is added to the Script editor. The calling syntax cannot be edited.
  6. When you are finished, close the Script editor.