Where are the html and scripts for dashboard widgets?

adevezin
Giga Contributor

Hello, I would like to modify to look of the widgets displayed on dashboards (Event Management Dashboard, CMDB Dashboard, etc.). Where do i find the html, and supporting scripts of these widgets? I looked in SP Configuration but i did not see them there.

7 REPLIES 7

stefaan1
ServiceNow Employee
ServiceNow Employee

I would advise against attempting to alter widget styling as you risk breaking any Accessibility and/or RTL support any widget may have. OOTB widgets may also have logic that expects certain markup to have certain CSS classes since that's what CSS selectors rely on.


Santosh Oraon
Tera Expert

hi @stefaan1  where can I find the script for Save PNG and Save as JPEG button in report for Dashboard. 

 

thanks 

santosh oraon

Hi Santosh,

The button which allows to save charts as an image belongs to the chart itself and is generated by Highcharts.

Highcharts is the third-party library which we use to render charts.

You can find the relevant information on their website:

https://www.highcharts.com/