Enable the Contact Behavior Profile with the most recent profile scores

Current version: 10.3

From Sitecore 10.1, the Contact Behavior Profile (CBP) uses aggregated scores. The previous obsoleted behavior, however, is still available and requires configuration changes because it is disabled by default.

To enable the Contact Behavior Profile with the most recent profile scores:

  1. Disable the AggregatingContactBehaviorProfileHandler profile handler and enable the ContactBehaviorProfileHandler.

  2. Patch the configuration of App_data\Config\Sitecore\Collection\sc.XConnect.Collection.Model.Plugins.xml for all the Collection and Search instances.

    • Disable the service configuration for the ICalculatedFacetHandler.AggregatingContactBehaviorProfileHandler handler.

    • Disable the service configuration for the IContactMergeHandler.AggregatingContactBehaviorProfileHandler handler.

  3. Enable the service configuration for the ICalculatedFacetHandler.ContactBehaviorProfileHandler handler.

    RequestResponse
    <ICalculatedFacetHandler.ContactBehaviorProfileHandler>
        <Type>Sitecore.XConnect.Collection.Model.Plugins.ContactBehaviorProfileHandler, Sitecore.XConnect.Collection.Model.Plugins</Type>
        <As>Sitecore.XConnect.Service.ICalculatedFacetHandler, Sitecore.XConnect.Service</As>
        <LifeTime>Singleton</LifeTime>
    </ICalculatedFacetHandler.ContactBehaviorProfileHandler>
  4. Enable the service configuration for the IContactMergeHandler.ContactBehaviorProfileHandler handler.

    RequestResponse
      <IContactMergeHandler.ContactBehaviorProfileHandler>
         <Type>Sitecore.XConnect.Collection.Model.Plugins.ContactBehaviorProfileHandler, Sitecore.XConnect.Collection.Model.Plugins</Type>
        <As>Sitecore.XConnect.Service.IContactMergeHandler, Sitecore.XConnect.Service</As>
        <LifeTime>Singleton</LifeTime>
    </IContactMergeHandler.ContactBehaviorProfileHandler>

Do you have some feedback for us?

If you have suggestions for improving this article,