What widget do i need to use to add a filter to the portal?

JiaJunS
Tera Contributor

As you can see, I create a list in the portal page. However, I want to engage and search data more easily. So, What widget do i need to use to add a filter to the portal?

1 ACCEPTED SOLUTION

yashkamde
Mega Sage

Hello @JiaJunS ,

 

There is one widget which is globally present ootb so you just need it to call in your custom widget :

First call that in your server >

Screenshot 2026-03-16 170056.png

 

Then after fetching and passing the required parameters in server script call it in a HTML Template of widget editor >

Screenshot 2026-03-16 170028.png

 

You will now get the pre built ootb widget in you custom widget >

Screenshot 2026-03-16 170007.png

 

If my response helped mark as helpful and accept the solution.

View solution in original post

11 REPLIES 11

JiaJunS
Tera Contributor

esc.png

Tanushree Maiti
Kilo Patron

Hi @JiaJunS 

 

Check this post:

https://www.servicenow.com/community/developer-forum/how-to-add-filters-for-the-widgets/m-p/2437250

 

https://www.servicenow.com/community/developer-articles/how-to-add-search-and-a-view-option-to-widge...

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Ankur Bawiskar
Tera Patron

@JiaJunS 

that looks like OOTB list widget.

see this

How to enable Edit Filters on list for end users in Service Portal widgets? 

also check this link which talks about cloning the OOTB widget and do some changes

How do you add a dynamic filter option to a simple list/ data table instance widget?  -> response from thoma5

Also check these links

How to add search and a view option to widget "Data Table from Instance Definition" 

How to add filters for the Widgets 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

@JiaJunS 

Thank you for marking my response as helpful.

As per community feature you can mark multiple responses as correct.

💡 If my response helped, please mark it as correct as well so that this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader