UI Script hides info message on Reports but not on Dashboards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi all,
I’m trying to hide the information message on the Dashboard overview
My UI Script works on Reports → View/Run, but it does not work on Self-Service → Dashboards Overview, even though the selector is the same.
UI Script:-
addLoadEvent(function() {
var banner = document.querySelector('.information-banner-dashboard-overview');
if (banner) {
banner.style.display = 'none';
}
});
Is there any way to make this possible?
- Labels:
-
Dashboard
-
zurich release
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
did you check the HTML lD is same?
what's your actual business requirement?
what you want to hide?
💡 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
