Developing validation plug-ins for Unica Campaign

A plug-in is a Java class that is loaded at startup time and called whenever a campaign or offer is validated.

The validation occurs whenever a user saves a campaign. You can create your own Java plug-ins with the tools that are provided in the Validation PDK. The PDK contains source code for sample plug-ins and an Ant file (Apache Ant is a Java based build tool) that you use to compile plug-ins.

The following steps explain how to set up your environment to develop a plug-in and then walk you through the creation of your own plug-in.

  1. Setting up your environment to use the Validation PDK
  2. Building the validator
  3. Configuring Unica Campaign to use a validation plug-in
  4. Testing the validator configuration
  5. Creating a validator