- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2020 11:44 PM
I am trying to use OOB "SN Desktop Filter Widget" in Service Portal by creating clone of it, name as "SGAS Desktop Filter". Also passed table name and initial query in Server script and when I click on "Run" button of filter, nothing happened.
I understand there should be communication between filter widget and data table widget however there is no any document or article in ServiceNow communities, docs and youtube to understand about the OOB "SN Desktop Filter Widget" in Service Portal.
Solved! Go to Solution.
- Labels:
-
Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2020 12:41 AM
Hi
If you're trying to show a data list, with the filter options at the top, you should probably use the "Data Table from Instance Definition" widget on your page. You can select the table, fields etc. that you want the widget to show, and as it has the filter widget included, and everything set-up to be used readily. All you need to do is to pass "enable_filter: true" in the widget instance option on the page, and it should show you the filters, and the filters will work without you needing to make any explicit changes.
Please refer to the screenshots below for reference:
Thanks & Regards,
Rishabh Jha
Aavenir (https://www.aavenir.com/)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2020 12:41 AM
Hi
If you're trying to show a data list, with the filter options at the top, you should probably use the "Data Table from Instance Definition" widget on your page. You can select the table, fields etc. that you want the widget to show, and as it has the filter widget included, and everything set-up to be used readily. All you need to do is to pass "enable_filter: true" in the widget instance option on the page, and it should show you the filters, and the filters will work without you needing to make any explicit changes.
Please refer to the screenshots below for reference:
Thanks & Regards,
Rishabh Jha
Aavenir (https://www.aavenir.com/)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2020 01:26 AM
Thanks a lot Rishabh. Now it works as expected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2021 05:02 AM
But if i want to put this Filter Breadcrumb Widget with My Request widget , which is shown in the Service Portal Request Tab then how can i attach it to that table so that it responses as per the displayed My Request Table