Testing the validator configuration
After building the validator.jar
file
that contains the SimpleCampaignValidator
class and
making the necessary configuration changes, you can test and use the
plug-in.
The following plug-in example prevents Unica Campaign users from saving a campaign that is named "badCampaign."
To test your configuration:
- Redeploy your application server so the changes take effect. For instructions, see your server documentation.
- Log in to Unica Campaign and go to the campaign creation page.
- Create a campaign with the name badCampaign and try to save it.
If everything is properly configured, you are not able to save the new campaign. If you receive an error message from the validator, you know that it is working correctly.