AnsweredAssumed Answered

Display error message and redirect in after/before_save logic hooks in Sugar Enterprise 7

Question asked by Aniket Aniket on May 14, 2015
Latest reply on Aug 7, 2015 by YellowTulips YellowTulips
Hello Everyone,

I had all working code in Sugar CE v6.5 with proper error messages and redirect in webhooks before/after_save, But when we migrate the code to Enterprise v7...Its stop working....no message...no redirect.

I have gone through most forum suggestions...but still facing same problem. We can't use java-script here right?

I hope some of you already face such problem, Have you solved this problem in webhooks with PHP script or alternative way.

My Requirement is
1. Display error messages to users
2. Redirect to page
3. Restore to the old record (as error occurred, revert updates)

Waiting for your suggestions...
  

Outcomes