How global search redirect to search_results.do in CMS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2015 12:05 AM
I want to know where the redirection is defined that Global search result in CMS will be displayed in page search_results.do
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2015 12:34 AM
When you click on the search though header search box in CMS it redirect to search_result.do with the results.
In search_result.do we have another search box, which is redirecting the user to view_content.do page which should be search_result.do itself.
Any suggestion.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2015 04:25 AM
Hi Pradeep SharmaTravis ToulsonMark Stanger
Any idea on this.
I couldn't found any code where the search redirection URL is defined.
Moreover from community it seems like redirection to view_content.do happens when there is some issue with the landing Page(some configuration missing).
i have also checked CMS Search and in my end the configuration is fine.
.
Please suggest what might be the probable reason.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2015 08:08 AM
Hi Ashish,
The view_content.do page is an xml template stored in the ServiceNow black box. It is basically the control page for the whole CMS. Given that the Search page is specified in the configuration of the CMS, my best guess at the moment is that the search redirection is handled in the view_content template. I will have to do some more digging when I get a chance unless Pradeep or Mark can shed some light.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2015 08:40 AM