Search filter in Simple List Widget

Abilash Vangara
Mega Expert

Is there an option to enable search filter on a simple list widget

find_real_file.png

If you notice the above screenshot ootb 'My requests' widget has(filter icon marked in red) what I exactly needed just to search the below requests with a keyword however this is not a simple list widget. Whereas on the other side is the simple list My incident widget where I am unable to set a filter like "My requests" widget

1 ACCEPTED SOLUTION

Abilash Vangara
Mega Expert

There is a line of HTML code (see below) commented in simple list filter, I just uncommented the line to see the filter on simple list widget 

 <!-- <i class="fa fa-filter" ng-click="c.toggleFilter()" ng-class="{'disabled-filter': !c.showFilter}"></i> -->

 

View solution in original post

6 REPLIES 6

Ct111
Tera Sage

Try to use dynamic filter like this for your requirement

https://community.servicenow.com/community?id=community_question&sys_id=653c8765db9cdbc01dcaf3231f96193e

 

 

or go throufgh this as well

 

https://community.servicenow.com/community?id=community_question&sys_id=453d47a9db9cdbc01dcaf3231f9619e6

 

 

Mark my ANSWER as CORRECT and HELPFUL if it helped

Thanks for the response..

 

The widget I'm working on shows list of all(active and inactive) incidents opened by the users and list goes really big after a while so the maximum entries is set to 10.

 

In this case user wants to search a specific incident using number, short description etc is not being possible

IF you want to filter the result by number and short description you need to add attributes

to the reference field as shown in the below link

 

https://community.servicenow.com/community?id=community_question&sys_id=47b7c7e9db1cdbc01dcaf3231f96199d

 

Take the above link as a reference and whichever fields you want to show add it by comma.

 

Mark my ANSWER as CORRECT and HELPFUL if it helped without fail

This seems like increasing the search criteria to multiple fields on a reference field but I am looking for

a search filter on the widget(simple list type) which can do a search on the entire data retrieved(list of incidents in my example) on the widget