Upgrading from Sitecore XP 10.0.1 or earlier
If you are upgrading from Sitecore XP 10.0.1 or earlier, you must perform the steps in this section.
Customize pattern matching
In Sitecore XP 10.1.0, we introduced a new setting:
Marketing.Patterns.MinimalProfileScoreCount
This setting replaces the Analytics.Patterns.MinimalProfileScoreCount setting in the /Sitecore/Marketing.Tracking/Sitecore.Analytics.Tracking.config file.
If you customized pattern matching by editing the value of the old Analytics.Patterns.MinimalProfileScoreCount setting, you must also apply the same customizations to the new Marketing.Patterns.MinimalProfileScoreCount setting after the upgrade.
We recommend that you use a patch file to edit this setting.
Furthermore, on every xConnect instance, in the sc.Marketing.XConnect.xml configuration file, you must synchronize this new setting with the ProfileDefinitionManagerSettings-IProfileDefinitionManagerSettings\Options\MinimalProfileScoreCount setting.
Deactivate unused segment definitions in the Reference Data database
Since Sitecore XP 10.2.0, if you delete a segment definition, it is automatically deactivated in the Reference Data database.
If you are using the xDB functionality and have deleted any segment definitions from your content management server in an earlier version of Sitecore XP, you must deactivate these segment definitions in the Reference Data database.
To deactivate the unused segment definitions:
-
Unpack the
MarketingDefinitionsUpgrade.zipfile. -
Copy the
DeactivateSegmentsInReferenceData.aspxpage to the\sitecore\adminfolder of your website. -
To open the
DeactivateSegmentsInReferenceData.aspx page, enter the following URL in a browser:http://<hostname>/sitecore/admin/DeactivateSegmentsInReferenceData.aspx -
Click Test Run - Get affected segments.
The segment definitions are validated.
If any segment definitions are not found under the
/sitecore/system/Marketing Control Panel/Segmentsitem on the Content Management server, a list of these segment definitions that should be deactivated in the Reference Data database is shown. -
Click Deactivate segments.
The segment definitions are deactivated in the Reference Data database.
-
To validate that all the segment definitions were successfully deactivated, click Test Run - Get affected segments.