Filter function in service portal

AW1
Tera Contributor

We have a widget using data table displaying data in list format Service Portal. It's hard to use when there are lots of data in the table, so people have to go through pages and pages data to find the record they're looking for. Is there any widget or method to provide user a quick way to find their record based on certain criteria, ie. column name? The out of box widget with list filter expose too much info to the end user and they get lost when using it. Need some advice on the best approach to help user find their data in the large table.

1 ACCEPTED SOLUTION

Mike Patel
Tera Sage
5 REPLIES 5

Mike Patel
Tera Sage

Refer to article and see if that helps. It has search function with hard-coded query

https://community.servicenow.com/community?id=community_article&sys_id=4c639526db5d7b4ce0e80b55ca961...

AW1
Tera Contributor

Thanks for the quick response. I will give it a try and report back :). Is the widget in the article cloned from any OOB widget?

 

Yes, I cloned it from widget-data-table widget

AW1
Tera Contributor

That looks great! I have two questions: 1) Currently when you click an item, it opens the ticket form as request. How could I make it open in the normal item display form? 2) What's the functions here for activeFilter and taskQueryFilter? Are they mandatory here? If so, how do you compose them? Any tool to use?

Thanks