- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2020 07:45 AM
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2020 09:48 PM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2020 08:40 AM
Why do you need to create custom functionality if you can use OOB reset filter functionality?
What's your business use case?
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2020 09:08 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2020 09:48 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2020 03:36 AM
Thanks, Adam. I'll give it a try.