Service portal typeahead search results redirect to wrong URL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2017 12:27 PM
Hello Community,
We are using a clone of the Homepage Search widget. When keywords are typed into the bar, the results are displayed in a drop window.
When the results are selected, ie. the top result above, the redirect URL is taking the user to the Social Q&A page.
*Note* When the user inputs the keywords and presses Enter, the same link on the search results page is correct.
Please can someone direct me to where I can change the typeahead search results URLs.
Thank you.
Jason R.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2018 06:08 AM
Does anyone in the community have a suggestion on this topic? Any help would be great.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2018 08:44 AM
Are you able to post the customisations you've made to your cloned Homepage Search widget? e.g. server side scripts etc?
I'm unable to replicate on my instance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2018 09:29 AM
function() {
/* widget controller */
var c = this;
}
This function was placed in the client controller, and controllerAs 'c' are the only changes made to the OOB widget.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2018 09:19 AM
Hi Jason,
The data that comes in for the typeahead comes from the Search Source setup. Did you happen to clone or use the Social Q&A search source as a template to create a search source for searching Request Items?
If so, then what probably needs to be done is change the typeahead template or page the search source points to depending on the search source settings.
Here are some screenshots to walkthrough the process.
