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


Currently, end users are not able to edit the filters in Service Portal widgets. When the users expand the "My open incidents" widget, they get the default filter as -
All > Caller is User .or. Watch list CONTAINS ( User ) > Active = true.
But they do not have access to edit the filter instead they can edit the applied filter via the URL. How can we use to enable filter to perform condition builder?


This is expected behavior in Service Portal widgets.
In Service Portal, "Data table from instance definition" widget to display the list of records.
The condition builder is only available for "Data Table from URL definition widget". The Data Table from URL definition widget displays the table you select from the list.
Both "Data Table from URL definition widget" and "Data table from instance definition" embed the same widget "widget-data-table".
If you're using Data Table from Instance definition the filter has to be set in the widget instance options. 
You can make it work by passing 'enable_filter' as true. 

Applicable Versions

Any ServiceNow release with Service Portal (e.g Kingston at the time of publishing this article)

Additional Information

Refer some Community links:


Article Information

Last Updated:2019-08-02 21:13:05
Pasted image.png