Knowledge Typeahead search is not displaying the results in newly configured portal

snowuser13
Tera Contributor

Created a new portal with suffix "spkb", Cloned the kb_view2 page and used in the Homepage in the configuration.

 

Typeahead search is not displaying the results in the new portal with suffix spkb. 

If I try with same search in sp portal its displaying results. Attached screen shots. Please let me know if i am missing anything here. 

 

snowuser13_0-1681920120876.png

snowuser13_1-1681920295365.png

 

snowuser13_2-1681920338423.png

 

Please advise.

 

2 REPLIES 2

Abdul_Rahiman
Tera Guru

Hi Kilo,

 

Please follow the steps to 


1. https://YOUR_INSTANCE.service-now.com/sp_portal_list.do?

 

2. Open your Portal.

3. Under the related list of your Portal add your Knowledge base in the "Search Sources" and "Knowledge Base" Tabs ..as showed in the below image

Abdul_Rahiman_0-1692554669034.png

I hope this will resolve your issue.

 

 

Best regards, 

 

Abdul Rahiman
ServiceNow Implementation Specialist

Email : abdulrahiman400@gmail.com

Mobile : +91-9986925447

LinkedIn: https://www.linkedin.com/in/abdulrahimans/

 

 

 

SagnicDas_dev
Mega Guru

Hi @snowuser13 ,

Please follow the below Steps,

  1. Link Search Sources and Knowledge Bases:
    • Navigate to Service Portal > Portals and open your spkb portal record.
    • Locate the Search Sources related list. If your portal is new, this list might be empty.
    • Click Edit and add the relevant sources (e.g., "Knowledge" or "Service Catalog") to the portal.
    • Similarly, go to the Knowledge Base related list and add the specific knowledge bases you want to be searchable in this portal.
  2. Verify Portal Suggestion Limit
    • In the same portal record, check the Suggestion limit field.
    • If this is set to 0, no typeahead suggestions will appear. Change it to a positive number (e.g., 10).
  3. Check Widget Instance Options
    • Open your spkb homepage in the Service Portal Designer.
    • Edit the options for your Typeahead Search or Homepage Search widget.
    • Ensure the Contextual Search Sources field includes the sources you just linked to the portal.
  4. Confirm System Property
    • Ensure the system property glide.service_portal.search_as_you_type_behavior is set to Typeahead to enable the live results functionality. 

      Please give it a like if the solution is helpful for you .......