Edit Top 10 Incident Generators or Top 10 Change Generators widgets on the CMDB Health Dashboard

Ranjani6
Mega Contributor

i would like to know if the Top 10 Incident Generators and Top 10 Change Generators widgets can be edited on the CMDB health dashboard. If not, can we get the logic defined.

3 REPLIES 3

mikkojuola
Giga Guru

This would be nice to know.

I also wanted to create more of similar kind widgets. Basically just wanted a copy and modify, but did not figure out where to find this element.

nimal
Kilo Contributor

Top 10 Incident generator widget is unfortunately not editable with configurations or like any other normal widget.

This is scripted and customised by ServiceNow inside the Widget called : CMDB Widgets, which is found under sys_widget tables. The renderer type is JavaScript.

All the widgets under the CMDB widgets are scripted and build within this script.

This is how the widget looks like:

find_real_file.png

Rafal Rataj1
Giga Expert

the top 10 generators are under 

	},
	'cmdb_toplist_incident' : {
		url:'/$cmdb_widget_countlist.do?sysparm_task=incident'
	},
	'cmdb_toplist_alert' : {
		url:'/$cmdb_widget_countlist.do?sysparm_task=em_alert'
	},
	'cmdb_toplist_change' : {
		url:'/$cmdb_widget_countlist.do?sysparm_task=change_request'

 

if I enter the URL I get a blank page but there is a title "CMDB Countlis Widget" which made me look into the code where I see

Please activate the Event Management and Service Mapping Core plugin to see service list result