Creating a code module

You can create a code module to contain one or more action handlers.

Procedure

To create a code module:

  1. Start the new document wizard in the administration console:
    1. In the domain navigation pane, click the object store.
    2. In the object store navigation pane, right-click the Browse > Root Folder > CodeModules folder and click New Document.
  2. On the Define New Document Objects step in the new document wizard, select Code Module for the Class field.
  3. Select the With content check box.
  4. On the Document Content Source step, click Add to add the code module document as a content element. For example, you might add a code module document that is named Simplecodemodule.jar as a content element.
  5. Set the MIME type for the content element:
    1. Select the content element.
    2. Click Change MIME Type.
      For information about the required MIME types, see Managing code modules.