cofoundry-cms / cofoundry

Cofoundry is an extensible and flexible .NET Core CMS & application framework focusing on code first development
https://www.cofoundry.org
MIT License
836 stars 146 forks source link

Intercept the save process #457

Closed kenan-kajkus closed 3 years ago

kenan-kajkus commented 3 years ago

My intention is to send the data to an API while saving. At the moment I send the data to the API when confirming the form field but it should save on pressing the save button. Is there any way of doing this?

image

HeyJoel commented 3 years ago

Have you looked into the Message Aggregator? I guess you might be looking for PageVersionBlockAddedMessage and/or PageVersionBlockUpdatedMessage.

There's no front-end events for you to hook into there.

HeyJoel commented 3 years ago

Closing, inactive.