Using ObservableAggregator<T> to filter items
You can configure instances of ObservableAggregator<T> processors that filter out items that you do want to be not be sent to observers. All observables use the global aggregation.filter.inbound pipeline. You can add additional observable-specific pipelines.
Configuration
Configuration
You implement the global aggregation filter in XML. The following code adds two filters. The first one filters by contact ID and the second one by the path visited:
Observable specific filter
Observable specific filter
You can configure an observable-specific pipeline in addition to the global filter pipeline. If you configure an observable called DefaultObservable, you simply configure a pipeline called defaultobservable.filter.inbound. For example:
This configuration uses exactly the same processor types as the global pipeline. Sitecore only applies the processors in the pipeline when the DefaultObservable processor is filtering items.