Hi Sebastian,
With what you are trying to do the saving/published events are not the right place to intercept the behaviour. After the Saving/Saved/Publish events run the will trigger Examine to update but Examine has it’s own events that you can hook into.
Typically you would do this using an Umbraco Notification handler that might look something like this:
public class TransformingExamineValuesHandler : INotificationHandler<UmbracoApplicatoinStartingNotification>
In the Handle method implementation you would get the relevant index (typically the internal one), convert it to the BaseIndexProvider and then assign an event handler to the TransformingIndexValues event.
if (_examineManager.TryGetIndex(Umbraco.Cms.Core.Constants.UmbracoIndexes.ExternalIndexName, out var index))
{
((BaseIndexProvider)index).TransformingIndexValues += (_, e) =>
{
In side the event handler you can extract the data, update it and, then re-add it before it gets written to the index.