Why is the typeahead search widget not showing knowledge articles?

JM1
Kilo Expert

 

When the user searches in the typeahead search widget, only service catalog options appear, and no knowledge articles. 

If we press enter, and complete the search the knowledge articles DO appear on the search page.

I'd like for them to also show on the typeahead widget. 

Any help appreciated. 

1 ACCEPTED SOLUTION
7 REPLIES 7

You marked your response as correct, would you mind marking my response as correct instead.

Thanks


Please mark my response as correct and helpful if it helped solved your question.
-Thanks

Francis Cavaciu
Giga Guru

I also had this issue but had nothing returning in the typeahead search. I checked the Search Sources but they were fine.
I ended up finding the below HI article that suggested checking the system property "glide.service_portal.search_as_you_type_behavior" . . . in my instance this was set to "Suggestions" instead of "Typeahead" on updating the value to Typeahead the typeahead search widgets all started working correctly.

HI Article : KB0759214 

kaloyan123
Kilo Contributor

Thank you so much Francis! This boggled my mind for so long! Even with the stock snow instance this was not working as expected. It is shame this is not properly described in the snow documentation. If you have to search forum threads/kbs/stackoverflow to make a default widget work properly - it is poorly documented. 

 

To summarize - in order to make "Typeahead search" widget work properly:

1. In the sys_properties table change: glide.service_portal.search_as_you_type_behavior -> make it's value to: typeahead

2. From portals -> your portals-> make sure "Search Sources" are configured

3. From the front-end when you add the widget "Typeahead search", configure "Contextual Search Sources" in the instance properties of the widget