Typeahead search not working - But why?

Stephan S_
Tera Expert

Hi community,

i`ve created a serviceportal for some bookable trainings like "Word for Starters".

There are some catalog item for booking and some knowledge articles.

One Item is called "Word for Starters" - One Article is called "Word Knowledge"

I am using the "typeahead search" and the "search page" widget.

When i am logged in as admin - Both widgets give results from both: the underlying catalog and knowledge base.

If i am using a non-admin user, just the catalog-items are displayed.

But as i have a direkt link to the KB-Articles i can verfy, that a non-admin user is allowed to read the articles.

So my question: Why do the Widgeds behave this way?

BTW: I tryed to play around some roles - Even giving my testuser the admin role did not solve this. Just my "core-admin" can see KB-Articles in the searches. And this puzzels me the most.

Have you ever encoundered something like this?

Am i missing a point?

Please let me know, if you need some looks in the coding or other infos to help me.

Thanks a lot in advance!!!

Cheers

Stephan

1 ACCEPTED SOLUTION

Stephan S_
Tera Expert

I found it: One account i used had english an language. The other was german. One language had KB-Articles (engl.) but none of them was german. So both Searches look up the Users language. And if there is no article in the Language there will be no search result. Sounds easy, took me 6 hours. I hope this will help future jung DEVs 🙂

 

 

View solution in original post

2 REPLIES 2

Brandon Barret1
Mega Sage

It sounds like you have a role tied to your knowledge search source. Remove the role and it should work fine. My guess anyway.

https://docs.servicenow.com/bundle/newyork-servicenow-platform/page/build/service-portal/task/add-ta...

Stephan S_
Tera Expert

I found it: One account i used had english an language. The other was german. One language had KB-Articles (engl.) but none of them was german. So both Searches look up the Users language. And if there is no article in the Language there will be no search result. Sounds easy, took me 6 hours. I hope this will help future jung DEVs 🙂