External AI Search
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2024 08:11 AM
This is regarding the External AI search, have followed all the steps as mentioned here https://www.servicenow.com/community/intelligence-ml-articles/how-to-bring-external-content-into-ai-... and were able to successfully get the search results in the Service portal.
In addition we have below requirements for which we need assistance:
1. Suggestion/recent search should redirect to correct URL
Here when any video is searched in the Service Portal search, suggestions/recent links are shown. On clicking, it gets redirected to table record link. On doing the investigation found that Autocomplete Suggestion is configured in sys_search_context_config for "Service Portal Default Search Application" and there is no option to update the URL.
For example :
Actual url - https://ABC.service-now.com/sp?id=form&table=u_vbrick_pdi_content&sys_id=9b6f3412-eb9e-4635-ac69-b3a...
Expected url - https://ABC.service-now.com/sp?id=vbrick_video_page&video_id=9b6f3412-eb9e-4635-ac69-b3a3f10da872
Can you please confirm if there is a possibility to update the url in suggestion/recent search. Also tried the possiblity to create a client script which will redirect to correct URL, but that client script doesn't trigger on clicking the suggestion/recent search.
2. On clicking the search result video need to open in a separate pop-up page.
In the EVAM configuration -> Action Assignment when I select Implemented as “Client Script” and put an alert. My expectation was that when I click on the search result I should be able to see that alert. But the alert is not coming. If we have this client script working then we might be able to open a popup which will show the video.
Is there an option when the user clicks on the search result, UI page should open in the same window.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2024 08:16 AM
@Shamus Mulhall @Loic1 @Gerard Dwan
Can you please suggest something here? Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2024 02:14 PM
Hi @AliK56876845342,
1. Suggestion/recent search should redirect to correct URL
You can run a redirection script using the "Search Scripted Post-processors" feature.
Access your Search Application and in the Search Scripted Post-processors related list click on "New", then create a new Search scripted processor following the documentation in the registry itself.
All you can do:
2. On clicking the search result video need to open in a separate pop-up page.
Can you confirm that the correct EVAM is being triggered? Maybe deactivating it and seeing if there were any changes there on the Portal.
If my answer helped you in any way, please mark it as correct/helpful 🙂
Regards,
Isaac Vicentini.
MVP 2025 ✨
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2024 03:58 AM
@Isaac Vicentini Thanks the 1st one worked
Regarding the 2nd one , I am able to open up the URL which is configured in EVAM.
My requirement is to open a pop-up page after clicking the search result, which will play the video in the same pop-up page like below in the incident form:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2024 10:36 AM
Hi @AliK56876845342,
I dont know how to do this, so I will just follow up if someone comes up with a solution.
If you find out, I will be happy to know.
MVP 2025 ✨