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?
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.
Hi,
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?