How to remove breadcrumb from Dashboard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2018 08:28 AM
Hi all,
We upgraded from Helsinki to Kingston. I converted our ITIL Homepage to a Dashboard. On the Homepage I am pulling in various "list" Type gauges to Dashboard widgets (see screen shot). This gives IT analysts a quick view of their work queues for Incidents, Changes, & Catalog Tasks.
Looks like Kingston is pulling in the list breadcrumb filter to the Dashboard widgets (see screen shot). This wasn't the case for gauges used on Homepages & Dashboards in Helsinki and prior versions. Is there any way to remove the breadcrumb trail from the Dashboard widget? Seems like there should be a setting on the gauge, but can't find any way to set it. Perhaps an attribute on the gauge? Or is it something deeper or some global system property that, if tweaked, would force removal of the breadcrumb from the List View as well, which I don't want to do.
Some IT Staff are members of multiple groups, so using the "Assignment group <is(dynamic) One of My Groups" filter pulls all those groups into the widget breadcrumb, and worse, it pulls in all of the Parent groups as well, which really crowds the widget and Dashboard page.
- Labels:
-
Scripting and Coding
- 3,836 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2018 11:37 AM
Have you used omit filter script condition?
var uri = gs.action.getGlideURI() + '';
answer = uri.includes('home.do');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2018 09:55 AM
Thank you, this works well in Kingston Patch4. My quick filters are not active for Homepage, but at least the filters are not displayed. They are still displayed in other TASK views.
Is there code I can add to the following, which will allow Quick Filters to work for Homepages?
var uri = gs.action.getGlideURI() + '';
answer = uri.includes('home.do');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2018 11:58 AM
I found some ways when you customize context menu, but it can be problematic and better avoid touching them.
If you want to use filters (quick or other) you need show the filter conditions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2018 01:04 PM
Do you have any examples of how I could implement those conditions. It seems the Filter Condition is restricting the Quick Filters. I am attempting to achieve the same results for the homepage, prior to Kingston upgrade. I am almost there, and able to do so with gauges. Thank you for your assistance.
Omit Filters=False
Filter Condition:
var uri = gs.action.getGlideURI() + '';
answer = uri.includes('home.do');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2018 09:19 AM
There is a known error article about this:
https://hi.service-now.com/kb_view.do?sysparm_article=KB0681125
It appears that the recommended workaround is to use reports instead of gauges (as was mentioned by Nia McCash). The known error KB indicates that gauges are not supported (since Fuji).