Handling "Swap File" Event

Hey there!

I’m working on a custom package, in which I need to register an event listeners that fires when the user swaps a file for a different one. I tried to listen to on_file_version_add and on_file_version_add, but both do not fire when I need them to.

I’m working with

# Concrete Version
Core Version - 9.2.8
Version Installed - 9.2.8
Database Version - 20240122172319

Any help is greatly appreciated :slight_smile:

Nevermind, I made a mistake in a different part that prevented my code in the listener from executing. The events do exactly what is advertised in the docs

1 Like