Gravatar for wendy.derstine@perficient.com

Question by wderstine, Mar 30, 2015 10:30 AM

Instructions for Sitecore 8 MVC Search Page

Wondering if there are instructions for creating a Coveo Search Page for MVC instances including relevant placeholders? The link on this page doesn't appear to be active - it just reroutes to the main page. Thanks.
https://developers.coveo.com/display/public/SC201503/Coveo+for+Sitecore+Developer%27s+Guide#

1 Reply
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Mar 30, 2015 10:51 AM

There is a section for MVC in the October 2014 documentation: https://developers.coveo.com/display/SC201410/Integrating+Coveo+for+Sitecore+Into+an+MVC-Enabled+Website

This section was since removed. You can use the "Testing it Out" page of the "Coveo for Sitecore 101" section to add a simple MVC search page: https://developers.coveo.com/display/SC201503/Testing+It+Out

What do you want to know exactly about placeholders? For an out of the box Coveo Search Page (MVC), the placeholders are clickable in the Experience Editor and you can add components in them like facets and sorting controls.

Gravatar for wendy.derstine@perficient.com

Comment by wderstine, Mar 30, 2015 12:57 PM

https://developers.coveo.com/display/public/SC201410/Creating+an+MVC-Based+Search+Interface+From+the+Page+Editor is helpful although preview just plain doesn't work with no errors in the logs and the index seems to be working fine. Just a cryptic "Oops! Something went wrong on the server. If the problem persists contact the administrator.". For this particular project I'm going to play with a non-mvc site, but will need to get the mvc one working eventually. Thanks.

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Mar 30, 2015 2:46 PM

Do you have any erroneous test in the Coveo for Sitecore Diagnostic Page?

In your browser, you can simply open the developer tools in the network tab, click on the search button in your search page and inspect the REST HTTP request response. It will contain the details about the error and help you to troubleshoot the problem.

Ask a question