MIGX custom events

Is there a way to implement custom “Events” for MIGX?
I’d like to set up a custom action (send an email), when a user changes a field in the MIGX table (in manager).

Are you using MIGX of MIGXdb?
If you are using MIGXdb, then there exist hooks? The aftersave hook is maybe what you could use. Or you could create a custom processor based on the “update” processor.

Found the after save hook! Not sure how I missed that :slight_smile:
Do you possibly know if I could use fenom to add those hooks in the config, or does it accept only MODX snippets?

I’m pretty sure you can’t use Fenom.
I think it expects JSON in the form:

{"aftersave":"name_of_snippet"}
2 Likes

This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.