Tutorials > Management Center


Next >


Tutorial: Adding a validation rule in the Marketing tool

This tutorial demonstrates how to add a new validation rule for the start and end dates of Web Activities in the Marketing tool. A validation rule is used to ensure that the activity is active for at least 10 days. If the user enters a start date and an end date that are not at least 10 days apart, a validation error is displayed. The new rule is implemented on both the Management Center client and the WebSphere Commerce Server side. This ensures that the dates are validated, regardless of how they are created in the activity (by way of the Management Center or any client that interfaces with the server).


Learning objectives


Time required

Expect this tutorial to take about two hours to complete.

You can download the completed tutorial code for this tutorial for the reference:

However, in order to fully attain the learning objectives, it is recommended that you perform the tutorial step by step.


Skill level

Advanced


Audience

This tutorial is intended for Management Center developers.


System requirements

Before beginning this tutorial ensure that you have fulfilled the following prerequisites:

  1. Installed WebSphere Commerce Developer


Prerequisites

Before beginning this tutorial ensure that you have fulfilled the following prerequisites:

  1. Familiarity with WebSphere Commerce Developer

  2. An understanding of the Java programming language

  3. A basic understanding of XML


Lessons in this tutorial

Next >


+

Search Tips   |   Advanced Search