AnsweredAssumed Answered

SugarApplication::appendErrorMessage does nothing

Question asked by Andrew Gin on Apr 5, 2018
Latest reply on Apr 20, 2018 by André Lopes

Hi

I'm trying to show the user a message using

 

            $GLOBALS['log']->fatal("should show error message");
            SugarApplication::appendErrorMessage('Enter your message string');

 

In my postsave hook. I have it logging to sugarcrm.log and the log message shows up in sugarcrm.log

but there is no message to the user on the webpage.

Are there any other ways of displaying a message to the user?

 

Thanks

Andrew

Outcomes