- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2022 07:10 AM
Is it possible to add search field in service portal for a table?
I am showing some list of records in the portal.. now along with these I need to add a search field..
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2022 09:07 AM
Okay great ! Here are the steps to follow in inner widget
1) in HTML add this button code
2)in client script add the highlighted function
Please mark my answer correct if it worked for you
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2022 08:00 AM
Hello
With OOB, the Keyword Search functionality is available for data table from URL definition widget and not for Data table from instance definition widget.
To enable it please follow below steps
Open your cloned data table from instance definition widget server script and paste this line
options.show_keywords = 'true';
under the line highlighted in below screenshot
Please mark my answer correct if it helps you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2022 08:26 AM
Thank you so much.. it was working.. but a small issue with this..
Consider search is empty now..
Now I search I added "Sathwik" and click on search.. then it was showing only sathwik records.. till here it was fine..
but immediatley after searching "sathwik" is disappearing from search button ...so user not getting option to view all records again.. so is there any option for this? till the user refreshes the page.. he can't see all the records..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2022 08:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2022 08:33 AM
hello sathwik ,
can you send me the screenshot once ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2022 08:41 AM
After opening the page.. these are the total records..
Now in search I typed as "Need" so short description was matched and it was showing.. perfect..
screenshot here..
User checked what are the records having... till here it was fine.. now user wants to see all the records... how can he see? If I refresh the page then that filter was going out till then it was showing with filter conditions only...
Note: I make "Breadcumb" as false.. as client does not want to see it..