- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2018 11:52 PM
I am working on service portal. There is a search field on the portal home page. When user type any keywords in the search field. Their is one table[sp_log] capturing the keyword entries. I want to know which code inserting those Records to the table. I go through the widget script, but unable to found which script doing this. I want to implement same functionality in the customized search widget .
Solved! Go to Solution.
- Labels:
-
Service Portal Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2018 12:13 AM
Hi pushkar,
Currently we dont find any documentation from servicenow but you use the above suggested function to get the desired functionality.
check the atttached snapshot!!
Thanks,
Satheesh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2018 12:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2018 01:55 AM
Hi Satheeshkumar,
Okay, I will try this script. But when I looked into the search widget(SN default widget) their is no such code use to insert entry in the table[sp_log]. So how the entries are getting captured in the table when user search fromthis widget.
Regards,
Pushkar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2018 12:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2018 02:20 AM
Hi Satheesh,
Yes, this worked for me. Thanks alot for quick help 🙂
Regards,
Pushkar