Try our conversational search powered by Generative AI!

EPi find Personalization problem


Hi Team,

Episerver.find.personalization ver13.2.3

We already using recommended products on our site. Now we have to implement the personalized find but it's not working for me. Please guide how to work with the find personalization.

             System.Threading.Tasks.Task.Factory.StartNew(currentContext => { HttpContext.Current = (HttpContext)currentContext; client.Personalization().Refresh(); }, HttpContext.Current.ApplicationInstance.Context);

                    var result = client.Search<SearchResultItem>()
                                 .Filter(x => x.CatalogId.Match(Convert.ToInt32(GlobalSettings.SnSCatalogId)))
                                 .Filter(x => x.LanguageCode.Match(currentCulture.Name))
                                 .Skip((model.PageNumber - 1) * model.ItemsPerPage)

 Keys added

<add key="episerver:tracking.Enabled" value="true" />
<add key="episerver:personalization.BaseApiUrl" value="" />
<add key="episerver:personalization.Site" value="xxxx" />
<add key="episerver:personalization.ClientToken" value="xxx" />
<add key="episerver:personalization.AdminToken" value="xxx" />

I didn't get any value in below one(prefData  is empty)

var prefData = _client.Personalization().Conventions.PreferenceRepository.Load();

if (prefData != null) {

var attributes = prefData.Attributes;


Advance Thanks

Edited, Sep 11, 2019 18:59


I am calling Personalization().Refresh() method too.

Sep 11, 2019 22:08

Hi are you calling the Refresh() method or decorating a controller with the RefreshPreferences attribute? One of these is required to get personalised search results:

See ''Retrieving attributes" here:

Edited, Sep 11, 2019 20:25
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.