Solved: Add a button to Reset Interactive Filters on the d... - ServiceNow Community

Add a button to Reset Interactive Filters on the dashboard tab.

Rohit8
Giga Expert

Hello,

I am aware of the Reset Filters option in the hamburger menu. Is there also a way to create a custom button using Dynamic Content block that Resets all the filters on the page, when clicked?

 

Any help is appreciated.

1 ACCEPTED SOLUTION

Adam Stout
ServiceNow Employee
ServiceNow Employee

I'm not sure what it is off the top of my head, but it is just calling a JavaScript function which you have access to.  Create a content block that calls that function on click and you'll have what you need.  If you dig into what the Reset Filters button does already, you'll probably find it.

View solution in original post

9 REPLIES 9

sachin_namjoshi
Kilo Patron
Kilo Patron

Why do you need to create custom functionality if you can use OOB reset filter functionality?

What's your business use case?

 

Regards,

Sachin

Thanks, Sachin, Our dashboard tab has a lot of Interactive filters, and adding a clearly visible Reset Filters button on the page itself would make it easier for the users to remove all filters at once.

The majority of them are not regular ServiceNow users and are thus unaware of the options in the hamburger menu.

 

 

Adam Stout
ServiceNow Employee
ServiceNow Employee

I'm not sure what it is off the top of my head, but it is just calling a JavaScript function which you have access to.  Create a content block that calls that function on click and you'll have what you need.  If you dig into what the Reset Filters button does already, you'll probably find it.

Thanks, Adam. I'll give it a try.