Announcing the Global SNUG Board of Directors. Learn more here
09-28-2015 10:20 AM
Hello, we are brand new to ServiceNow and just went live on Fuji in early September. A contractor developed our ESS Portal for us. The issue we have follows:
1. User on ESS searches the KB.
2. The results appear, showing matching Tasks, Live Feed, Policy, People & Places, and Knowledge & Catalog. The URL is https://xylem.service-now.com/ess/search_results.do?sysparm_search=outlook.
3. Outlook, my original search term, is already in the search field of the displayed page. Whether I change it or not, once I hit the search icon to the right of the field, I am brought to an out of the box page we don't want our end users seeing.
We want them to stay within "our" ess portal. The URL of the page displayed is https://xylem.service-now.com/ess_oob/search_results.do?sysparm_search=outlook.
How would we go about changing this?
Thank You,
Jon
Solved! Go to Solution.
10-07-2015 03:48 PM
Thanks, I can reproduce what you are experiencing oob Fuji and believe I know the cause. The first search displays results correctly using the search_results page specified in the custom Site record. The second global text search is (incorrectly) displaying results using the Search Page specified on the Content Management > Configuration > Configuration Page (Content Management Administration - ServiceNow Wiki). If you drill into this Search Page, I think you'll find it's pointing to the oob Site record.
09-28-2015 06:30 PM
Hi,
Could you please make sure that you have a separate page "search_results.do" for your new site ?
I tried to reproduce this issue by simply creating a new site with just a home page. And my home page has the header called "Portal Header" and some content in the body part. Now when I search on header using a new site, the search result appears on <Instance_Name>/ess/search_results.do?sysparm_search=test. Since I do not have a similar page for a new site it goes to OOB search_results.do page.
If this is the case, please create a new page with the name "search_results" under the new site you created.
Hope this helps!
-Manjul
09-29-2015 02:09 PM
Manjul,
Thank you so much for the response. I've played around a little more with this after receiving your note and this is what I have found.
Now I just need to figure out, or hopefully get information from you or one of the other experts reviewing this post, how to make this happen.
Thanks again for your response. It is greatly appreciated.
Jon
10-07-2015 11:41 AM
Hi Jon,
Reviewing the original post, I'm wondering how you went about creating your custom site. Best method is to clone or copy the out-of-box Employee Self Service site using the Copy button which allows you specify a new Name for your custom site That new name gets used as a prefix for all the site elements that get duplicated (Creating a Site - ServiceNow Wiki).
Instead of modifying the out-of-box search icon/link, check to ensure you have a search_results content page associated with your custom CMS Site. You can do this by navigating to Content Management > Pages then filter the list on URL suffix is search_results. Results should show the out-of-box page (search_results) associated to the out-of-box content site (Employee Self-Service). Ensure there is one for your custom content site and if not, use the Copy button on the out-of-box page to create one for your site (Creating a Content Page - ServiceNow Wiki).
10-07-2015 02:28 PM
As our site was created by a consultant I don't know the method used to create it, but as stated in my response to Manjul we do have a search_results page in our site. In viewing it, it looks exactly the same as the OOTB search_results page with the exception of the Content site field. OOTB has Employee Self-Service and ours has the name of our portal. When I do a search from the Search the knowledgebase box from our portal, the link shows, what is indicated in point 2 of my original post. This shows we do have a search results page. For some reason though, when on that page and clicking the icon to the right of the text box, as displayed in the second image in my original post, it takes the user to the ess_oob search_results page. Can't figure out why.