function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
BARJRDBARJRD 

How to display an informational message from a trigger/class

I have created a class that is called on the BeforeInsert trigger of Opportunity.  I would like to display an informational / instructional message on the standard Opportunity page when a record is successly inserted.   I know about adderror, but do not want the message to be displayed as an error.

 

Thanks,

Barb R.

AlexPHPAlexPHP

I do not believe standard pages have such functionality.

 

You should look into using Visualforce Pages to have a lot more flexibility in customizing your pages.

Jeremy.NottinghJeremy.Nottingh

Do you want this message to be in a text field on the Opportunity? You can do this with a Before Insert trigger.

 

If you mean you want some kind of popup message or something along those lines, you will be out of luck without at least Visualforce.

 

Maybe I misunderstand your needs. If you need help with the Trigger, post what you have now.

 

Jeremy

BARJRDBARJRD

Thanks....I was thinking about an informational pop-up message.  Thanks for the info...Barb