Vulnerability in EPiServer.Forms

Try our conversational search powered by Generative AI!

Get removed content CatalogEventBroadcaster.LocalEntryDeleted



Before an entry is removed I would like te remove it from the index if applicable (is an indexable contenttype). I don't see an LocalEntryDeleting event only the LocalEntryDeleted but this is too late since I can't fetch the entry anymore to determine the content type. Is there a better event to listen for?

Jul 03, 2015 11:12

You can listen to LocalEntryUpdating instead. It will send the CatalogEntryDto with deleted row, which you can access by using DataRowVersion.Original. At this point you can still check for the content type.



Edited, Jul 03, 2015 15:14
* 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.