close

Filter

loading table of contents...

Personalization Hub Manual / Version 2404

Table Of Contents

5.1 Condition Types

The following condition types exist in CoreMedia Adaptive Personalization:

NameDescription
SegmentConditionUsed for defining conditions on customer segments. Plugins may use the addPath, removePath and clearPath method to adapt the set of repository paths' that are searched for segment definitions. Supports the addpath plugin provided by CoreMedia Adaptive Personalization.
DateConditionUsed for defining conditions on dates, such as the current date.
StringConditionUsed for defining conditions on string-valued properties.
EnumConditionUsed for defining conditions on properties that can take on a limited set of values.
FloatConditionUsed for defining conditions on float-valued properties.
IntegerConditionUsed for defining conditions on integer-valued properties.
TimeConditionUsed for defining conditions on properties that represent timestamps consisting of hours, minutes, and seconds.
BooleanConditionUsed for defining conditions on Boolean-valued properties.
DateTimeConditionUsed for defining conditions on properties that represent a date and a timestamp, such as March 12, 2011, 15:13:02h
KeywordConditionUsed for defining conditions that test the values of keywords stored as properties. In contrast to the previous conditions, this condition isn't mapped to a property name but a property prefix. The substring following the prefix is assumed to be the keyword.
PercentageKeywordConditionThis corresponds to a KeywordCondition but instead of accepting arbitrary floating point values, it only accepts integers between 0 and 100, which are mapped to a floating point value between 0 and 1. This condition isn't mapped to a property name but a property prefix. The substring following the prefix is assumed to be the keyword.
BooleanPropertiesCondition

A condition that tests whether a Boolean property is set to true. You provide the set of available properties to choose from. This condition is not mapped to a property name but a property prefix. The substring following the prefix is assumed to be the name of the Boolean property.

For example, if propertyPrefix="flags" and properties="\{\[\['sports', 'Sport News'\]\]\}", the UI will show a property Sport News. If selected, the condition flags.sports=true will be added to the respective selection rule.

Table 5.1. Condition types


Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.