Creating a content validation action

You need to create a content validation action before you configure content validation for a storage area.

Before you begin

Make sure that you set up the content validation handler that communicates with the external services that provide the logic for content validation. For more information, see the topic Setting up a content validation handler.

You can skip the following procedure if your content validation handler requires any property values like a hostname or port number to access the external service that provides logic for content validation. For more information, see the topic Setting up a content validation handler.

About this task

Use the Create a Content Validation Action wizard to specify a Java™ class that the Content Engine supports to handle content validation actions like virus checking of content during upload. You can use the object reference for the content validation action that you create in the task when you assign a content validation object to a storage area.

Procedure

To create a content validation action:

  1. Start the New Content Validation Action wizard in the administration console.
    1. In the domain navigation pane, select the object store.
    2. In the object store navigation pane, select the Event, Actions, Processes > Content Validation Actions folder.
    3. Click New.
  2. Specify whether the content validation action handler is implemented as a Java component.
    1. If you selected Class, enter the name of the primary Java class for the content validation 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 content validation action handler, select Configure Code Module before you click Next. If you do not select this option, the required Java class or JAR file must be on the local Content Platform Engine application server and must be 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.

  3. Complete the New Content Validation Action wizard.