How to remove the info message that appears in the form/table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2012 01:19 AM
I have used g_form.addInfoMessage("some content").Its working fine.How to remove it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2012 01:43 AM
If I understand correctly...
you can comment out the line in the script.
Or you meant something else.May be a screenshot be helpful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2012 02:11 AM
I want it to remove the info message through scripting.How to achieve it?What method to do so?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2012 05:51 AM
I've created a cheat sheet at SNGuru that shows all of the info message methods (including how to hide a message added by 'addInfoMessage'). You can check it out here.
http://www.servicenowguru.com/scripting/ui-info-error-message-cheat-sheet/

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2020 03:58 AM
As usual, Mark, awesome reference. Thanks! 🙂