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

Attaching to content events (new way?)

Vote:
 

IContentRepository does not expose events in the same way that DataFactory.Instance did.

What would be the new equivelant of

EPiServer.DataFactory.Instance.PublishingContent += Instance_PublishingContent;

    

#64179
Dec 12, 2012 11:26
Vote:
 

Hi

The content events on DataFactory are exposed through the interface IContentEvents, http://sdkbeta.episerver.com/Class-library/CMS/RenderPage/?documentId=cms/7/306eae4b-2ba2-dd1e-c114-bccb0d3d2968.

Regards

Per Gunsarfs

#64180
Dec 12, 2012 11:35
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.