How to search incident records by using widgets on seperate created portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 12:12 AM
hi, I am new to service now I created a new service portal in that I added create ,update,delete incident widgets. I created 3,4 widgets and I did scripting, Now I have to Do search Incident Records in my service portal.Please give me the answer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 12:50 AM
Hi
You can use the "Typehead Search" widget for your requirement.
Just clone the OOTB widget and then customize it.
For example:
You can try the below steps.
1. Navigate to 'Service Portal > Portals' in the application navigator.
2. From the list of portal records, open the one where you want to restrict the typeahead search to catalog items.
Eg: open OOB portal record 'Service Portal'
3. In the search sources related list, you'll see list of search sources which will be referred during typeahead search. Remove the ones which you don't need and keep OOB 'Service Catalog' search source to restrict your search only to catalog items.
Note: You can create/customize search sources and add them to your portal depending upon your requirement.
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 09:36 AM
while using typehead search i am getting error like this
"
Your search - INC0000052 - did not match any documents
- Make sure all words are spelled correctly
- Try different, more general, or fewer keywords"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 10:29 PM
Hi
Here is your solution :
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2022 06:58 PM
I have to use this code in widget or in data source