HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityDoc feedbackLog In
GitHubNuGetDev CommunityDoc feedback


Version 2.0 of [Personalized Search & Navigation](πŸ”—ο»Ώ) adds support for EPiServer.Personalization 2.0.

See also EPiServer.Personalization [Personalization.Commerce 2 breaking changes](πŸ”—ο»Ώ).

Because of breaking changes from EPiServer.Personalization, EPiServer.Find.Personalization does not provide settings related to the Personalization service. All settings are provided by EPiServer.Personalization. For information, see [Using scopes in a multisite installation](πŸ”—ο»Ώ).

## API changes

### EPiServer.Find.Personalization.Api.RefreshPreferenceCommand

The following properties and fields were removed from the `RefreshPreferenceCommand`:

  • BaseApiUrl

  • ClientToken

  • Site

To access these settings in the new version, look at the `RefreshPreferenceCommand`'s `ScopeConfiguration` property. This `ScopeConfiguration` instance contains the properties listed above.

### EPiServer.Find.Personalization.Conventions.IPersonalizationClientConventions

The following properties and fields were removed from IPersonalizationClientConventions:

  • BaseApiUrl

  • ClientToken

  • Site

If you need to get these properties and fields in any custom implementation using the new version, implement the `GetPersonalizationConfiguration` property. This property is a function that returns a `PersonalizationConfiguration` instance that has the `GetConfiguration(scope)` and `GetConfiguration()` methods. These methods return a `ScopeConfiguration` instance that contains the properties listed above. For more information, see [Using scopes in a multisite installation](πŸ”—ο»Ώ).