Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
Good but very tricky question.
Summary is stored with EPiServers internal O/R-M called ObjectStore and there is no hooks to catch save of an item as far as I can see.
Changeing meta data will trigger reindexing but I can not see how that could be used easily...
The only approach left I can think of is to create a subclass/wrap of VersioningSummary with a hook for save and also subclass/wrap VersioningFile and VirtualPathVersioningProvider to make it return the summary object with your hook.
/Fredrik
I'm using the versioning provider, and all the VersioningFile.* and UnifiedFile.* events only fire when files themselves are added/moved/etc, not when file summaries are saved/updated.
Is there a way to hook when a unified file summary is saved? Or is there a smart way of accomplishing the same thing somehow?