- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2017 03:12 PM
Hi: Anyone know how to add the search box on the Data Table from Instance Definition Widget as it exists on the Data Table from URL Definition widget:
Solved! Go to Solution.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2017 05:19 AM
Hi Rita,
If you want to use search functionality through Data Table From Instance Definition Widget, you need to clone this widget and add widget parameter (show_keywords: true), per below screenshot :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2017 04:31 AM
Hi Rita,
There are a couple of ways you can do this. But the core thing that will make the search box display is by setting the option "search_keyword" to true for the "Data Table" widget. That is the widget that both "Data Table from Instance Definition" and "Data Table from URL Definition" are embedding. In the "Data Table from URL Definition" widget you'll notice that in the server-side script when it's defining the widget to embed - in the options it's passing and setting search_keywords to true.
Looking in the "Data Table" widget html markup you can see the ng-if condition set on the containing div to display if options.show_keywords is true
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2017 05:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2020 04:51 PM
Hi Chris/Chirag,
I am trying to add a search box on my Data Table from Instance Definition widget
Table selected is sysapproval_approver
The widget is displaying the approval requests which are on 'Requested' stage for the logged in user.
User should be able to type in the request number on the search box and on submit it should either display that request in the list below or take them directly to the approval page of that request.
Also, if it is achievable through any other widget, suggest that as well.
Please provide your inputs on this.
Thanks,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2022 12:33 PM
