Use the Change Preprocessor Action wizard to create a change
preprocessor action. You can assign a change preprocessor action to
a change preprocessor definition for a class.
Procedure
To create a change preprocessor action:
- Start the Change Preprocessor Action wizard in the administration
console:
- In the domain navigation pane, select the object store.
- In the object store navigation pane, right-click the Events,
Actions, Processes folder and click Change
Preprocessor Actions.
- Complete the wizard.
- Optional: You can disable the change preprocessor
action until you are ready to implement it. By default, the change
preprocessor action is enabled.
- Specify whether the action handler is implemented as a JavaScript or Java™ component.
- If you select JavaScript, click Next to
enter the action script. You can open and modify a script or add code
to the default code stubs.
- If you select Class, enter the name of
the primary Java class for the
change preprocessor action handler. If the Java class is contained in a package, qualify
the Java class name with the
package it is contained in.
To configure the code module that contains
the action handler, select Configure Code Module before
you click Next. If you do not select this option,
the required class or JAR file must be located on the local Content Platform Engine application server.
In addition, it must be included in the application server class path.
When
you configure the code module, you can create a code module or browse
for an existing code module. Code modules are stored in the CodeModules folder.