How to suppress InfoMessages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-14-2012 12:31 PM
Hi,
We are using textsearches on our knowledge base (using GlideRecord with gr.addQuery('123TEXTQUERY321', search);
This however produces InfoMessages like "Your text query contained only common words or ambiguous wildcards, please refine your search and try again" (propably put there by gs.addInforMessage()
I would like to suppress those messages. gs.getInfoMessages() does only give you the information stored in the session, but I would like to erase them afterwards so they are not displayed to the user.
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-17-2012 06:40 AM
Thanks for the tip, Mark! This is exactly what I have been looking for for quite a while! It is a pity they do not have this documented on the Wiki...
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2014 03:34 AM
End user does not want to see this info message, how can i proceed this