Cannot enable AI Search on typeahead search widgets in newly created Service Portal

Anim Yeboah
Kilo Expert

Hello,

I am unable to enable AI Search on the typeahead search widgets on all pages of a newly created Service Portal. The widgets are all missing the AI Search configuration options. 

Hints: 

1. The new Service Portal was developed within a scoped application. This problem occurs only on the target instance the application has been installed on, but not on the development instance. 

2. The AI Search results page with facets/filtering etc. works fine. This issue affects only the actual typeahead search widgets (which would provide AI search suggestions). 

I have tried the following:

- I have verified that AI Search is enabled on the instance and on the Portal itself.

- I have tried to reclassify the widgets for AI Search as described at https://docs.servicenow.com/bundle/quebec-servicenow-platform/page/build/service-portal/task/reclassify-search-widgets.html

- I have tried to replace the search widgets with completely new ones. 

Please let me know if you have any suggestions to resolve this issue.

Regards,

Anim

 

 

1 ACCEPTED SOLUTION

Anim Yeboah
Kilo Expert

We have resolved this issue by cloning the Typeahead Search widget and overriding the `data.aisEnabled` variable in the server-side script.

View solution in original post

12 REPLIES 12

Anim Yeboah
Kilo Expert

Unfortunately, I was not able to resolve the issues. I have opened a support ticket with ServiceNow. Thank you for your help, Anu.

Cool. Post the solution here once its resolved.

-Anu

Anim Yeboah
Kilo Expert

We have resolved this issue by cloning the Typeahead Search widget and overriding the `data.aisEnabled` variable in the server-side script.

Thank for posting this!!

 

Hi Anim we are also facing same issue can you let me know what we should need to change in Typeahead Search widget and overriding the `data.aisEnabled`variable (if you attach your code its good), should we need to run fix script as well.

Regards

Sunil