+ Start a Discussion

Displaying the Success Message from Apex Trigger

I knew that the Apex trigger can display the Error message to the salesforce users, but is it possible to also display the Success message to the user from Apex trigger? If not, is it possible to execute the JavaScript codes from the Apex trigger?
Thanks for your help!
Boi Hue
I think both questions can be asnwered with No.
Maybe you could trick it, making a page layout with some inline javascript, the trigger setting a record type displaying this page layout. The inline javascript could then reset the record type to get back to a normal page layout, without the inline javascript..... all not very nice ofc :)