Adding custom properties to a rule

You can promote custom properties by creating key/value pairs on the Properties tab of the Rule editor.

You can promote custom properties by creating key/value pairs on the Properties tab of the Rule editor. Rule properties are typically used to return supplementary information with promoted record pages. Properties could specify editorial copy, point to rule-specific images, and so on. For example, a property name might be set to SpecialOffer and its value set to BannerAd.gif.

You can add multiple properties to a dynamic business rule. These properties are accessed with the same method calls used to access system-defined properties that are included in a rule's results, such as a rule's zone and style.

To add a custom rule property:

  1. In the Rule editor for the rule you want to change, click the Properties tab.
  2. Type the property name in the Property field and its corresponding value in the Value field.
  3. Click Add.
  4. Repeat steps 2 and 3 if you want to add additional properties.
  5. Click OK. You can also create templates to facilitate the creation of rule properties in Endeca Workbench. See About styles for details.
Note: Fully implementing this feature requires additional work outside of Developer Studio. Please refer to the Endeca Advanced Development Guide as well as the Endeca Workbench Help for details.