Ontolica Search Box SearchAsYouType displays no results

The ?Search As You Type? a feature of the Ontolica Search Box displays no results for Context Scopes (example: “This Site”, “This List” and “This Folder”)
To resolve the issue:

1. Go to: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\Ontolica and located the SearchBox_SearchAsYouType.js JavaScript file.

2. Open the file with a text editor software (e.g., Notepad) and locate the below code snippet in the function search(query):
if (scopeValue0 != “TargetOnly”) {contextScope = scopeValue0 + “=\”“ + scopeValue3 + “\”“;

3. Change value 3 in ? + scopeValue3 + ? to 4

4. Save the file, go to your SharePoint site, clear the browser cash/history and test

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment