A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
While the answer from Valdis is correct, it is worth noting that you should be using IContentRepository instead of DataFactory these days. Episerver now is all about interfaces & dependency injection.
Hi Team,
We are doing migration for Epi CMS from 7.5 to 11 and facing issue in below code:
DataFactory.Instance.CreatingPage += MyFunction;
DataFactory.Instance.PublishingPage += MyFunction;
now in v11 , these EventHandler are not part of DataFactory class and i was wondering , how can it is handled in latest version of CMS.