Banner info message without dismissble button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
Hi,
I want to add banner info msg for case table for particular conditions.It should not be dismissble it should be peesnt permanent in that form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
I have used annotation i got blue info msg on case table but I want this info msg only when certain fields meet their conditions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
then you need onLoad client script + DOM manipulation to show/hide the annotation.
there is no direct way to show/hide annotation
This link has approach using client script, see that and enhance
How to hide Form Annotation until specific field condions are met
Note: DOM manipulation is not recommended
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
Hi there @SujilathaY
If annotations doesnt work then
Try using a UI Policy or Client Script.
-
Create a new UI Policy for the case table.
-
Add your conditions (like
state == "In Progress"or any field logic). -
Under UI Policy Actions, show or hide the Annotation field based on the condition.
If the condition is more complex, use an onChange or onLoad Client Script to check the field values and use g_form.setDisplay('annotation_name', true/false) to toggle visibility.
This way, the info message (annotation) appears only when your specified conditions are met.
Kind Regards,
Mohamed Azarudeen Z
Developer @ KPMG
