Description
Gauge widgets for the platform homepage are now showing the list breadcrumb filters since the Kingston release. This was not the default behaviour in earlier releases.
Steps to Reproduce
- Log into a Kingston or later instance
- Navigate to your homepage
https://<your-instance>.service-now.com/nav_to.do?uri=home.do - Click on Add Content
- On the list selection page choose: Gauges > Task > Unassigned Work
- Choose an area to add the gauge to by clicking on the Add here options
- Close the selection page so that the gauge is added to your homepage
Observe the gauge widget shows the breadcrumb filters as below:
Workaround
This behaviour is by design. Gauge lists are legacy, no longer supported since Fuji, and replaced by report lists instead. These do all the same, but even more and are supported. Obsolete gauges have not been deleted from the system, but administrators can not create new gauges anymore.
Ref.: https://docs.servicenow.com/csh?topicname=t_CustomizeAHomepage.html&version=latest
If you wish to revert to the previous behavior where Filters were hidden for Gauges on Homepages, use a List Control:
- Create a List control for the table your Gauge is for.
- In the 'Omit Filter Condition' field (you may need to add it to the form), use this script:
var view = RP.getReferringURL();
gs.log(view);
if(view.includes('home'))
answer = true;
else
answer = false; - Save.
- Clear the instance cache for this change to take effect.
Related Problem: PRB1255449