Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
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