Develop > Presentation layer > Customize marketing > Marketing customization: Management Center > Customizing triggers, targets, and actions


Changing the name of commands used in behavior rule matching

Certain triggers, targets and actions have behavior rules defined in their campaign element templates that detect events. The marketing services detect that the event has occurred by matching a page URL command or a controller command. If the site uses command names that are different from the default WebSphere Commerce command names, then specify your site's command names in a custom configuration file so that the triggers, targets and actions work properly.

Here are a couple of examples:


Before you begin

To see a list of default command names used in the triggers, targets, and actions shipped with WebSphere Commerce, see List of shipped campaign element templates and task commands.

This task explains how to specify the site's custom URL command and controller command names so that they override the default WebSphere Commerce command names. As a result, any triggers, targets, or actions that match command names will use the names you specify.


Procedure

  1. Open WebSphere Commerce Developer and switch to the Enterprise Explorer view.

  2. Open the default marketing component configuration file at the following path:

    WC_EAR\xml\config\com.ibm.commerce.marketing\

  3. To understand how to override controller command names:

    1. In the file, search for this string:

      The controller command names to match for behavior rules
      

    2. Review the instructions and the example controller commands listed in the file.

  4. To understand how to override URL command names:

    1. In the file, search for this string:

      The url command names to match for behavior rules
      

    2. Review the instructions and the example URL commands listed in the file.

  5. In a customized marketing component configuration file (wc_admin_component.xml), add the required entries to specify the names of the custom commands.

    For instructions, see Changing properties in the marketing component configuration file (wc-admin-component.xml).


+

Search Tips   |   Advanced Search