Hi, im completely new to SuiteCRM.
Our management decided that we are gonna jump straight into version 8 and i cannot figure out how to do hooks correctly.
What i roughly need to do is hook save action (before_save), call external API, wait for response and based on response either proceed with saving the entity or cancel the save action and return custom error message to frontend.
Now i can do that in version 7 using logic hooks, SugarApplication::appendErrorMessage and SugarApplication::redirect.
But i have no idea how to do this in version 8 since the frontend is now SPA.
I’ve read through chapter on Save Handlers but didn’t get anything from it since there is no code snippet or class name.
So i guess my question is, how do i do this version 7 hook in SuiteCRM 8 properly?
Thx for any help