Refresh Data Table From Instance Widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2017 08:29 AM
Hello all,
OK I have created a Data Table From Instance widget and unfortunately due to the initial query being so long I cannot show the breadcrumbs. The problem I have is that I would like to be able to have the table widget refresh back to it's original long query when the user starts using the 'Show Matching' and 'Filter Out' functions. At the moment the only thing I have quickly put on is a page refresh button calling a function to use $window.location.reload(). However, as you can imagine this is not a good solution.
Can anyone advise me on a good solution where I can refresh just the widget.
Many thanks.
Martin
- Labels:
-
Service Portal Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2017 08:18 AM
Oh I see, how did you implement the sysparm_fixed_query? I have been looking to add that to the data table from instance widget I'm using. I hid the breadcrumbs so that the user doesn't click "all' and clear the query they're supposed to be looking at.
I was able to use this solution given by fábiodanielgonçalves to clear a user's query without refreshing the page.
Add and refine Keyword Search Box to "Data Table from Instance Definition" widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2019 03:27 AM
Hi Peter,
Were you successful in implementing the sysparm_fixed_query functionality to the Data Table from Instance Definition widget? Can you provide me with any information?
Thanks!