Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
I haven't tried this, but there is a method in the EPiServer.Personalization namespace that looks promising:
// Gets the groups that are used for personalization on current page.
EPiServer.Personalization.PageDataPersonalizationExtension.GetUsedPersonalizedGroupIds(currentPage);
Thanks for that Mari. I'll give it a try and let you know how I go with it.
Hi All,
Does anyone know if there is a way to easily find out if any content has been personalised on the current page. The reason behind this is I want to turn off output caching for the current page if it contains personalised content using the SetCachePolicy() method override.
Thanks in advance,
Damo