Upgrading from April 2017 to June 2017
Upgrading from April 2017 to June 2017
|
|
For the best Coveo for Sitecore experience, always follow the Leading Practices When Upgrading Coveo for Sitecore. |
This section describes how to upgrade Coveo for Sitecore 4.0 from the April 2017 to the June 2017 release.
Step 1: Upgrade Coveo Services
-
Ensure that you have installed the March 2017 release of Coveo Enterprise Search (CES 7.0.8996). For more details, see Upgrading CES.
-
Ensure that you have installed the March 2017 release of the Coveo Search API (8.0.1134).
Step 2: Upgrade Coveo for Sitecore
|
|
Ensure that the Microsoft MVC security update MS14-059 is installed on every Sitecore host in your environment. |
|
|
If you’re using the Coveo Admin Service in secure mode, read this notice before installing the package. In the
|
-
Log into the Sitecore Desktop.
-
Access the Installation Wizard (Sitecore Start Menu > Development Tools > Installation Wizard).
-
Install the Coveo for Sitecore .zip package.
-
When prompted to overwrite files, click Yes to all.
-
When prompted to overwrite items, select Overwrite, then click Apply to all.
NoteYou might be prompted twice with this question. Select the Overwrite option and click Apply to all both times.
-
Once the installation is completed, make sure that you restart both the Sitecore client and server.
Step 3: Manually Update the Coveo Search Provider Configuration File
Step 1: Upgrade Coveo for Sitecore
|
|
Ensure that the Microsoft MVC security update MS14-059 is installed on every Sitecore host in your environment. |
-
Log into the Sitecore Desktop.
-
Access the Installation Wizard (Sitecore Start Menu > Development Tools > Installation Wizard).
-
Install the Coveo for Sitecore .zip package.
-
When prompted to overwrite files, click Yes to all.
-
When prompted to overwrite items, select Overwrite, then click Apply to all.
NoteYou might be prompted twice with this question. Select the Overwrite option and click Apply to all both times.
-
Once the installation is completed, make sure that you restart both the Sitecore client and server.
Step 2: Manually Update the Coveo Search Provider Configuration File
Manually Modify the Search Renderings Files
If you duplicated any of the search components (CoveoSearch.ascx for Web Forms or SearchView.cshtml for MVC), you need to manually merge file modifications into your current rendering files.
This method allows you to keep your own customization intact, while still benefiting from the latest enhancements brought in the product.
You can use a merge tool such as WinMerge to do that.
Adding Distance Resources to CoveoSearch.ascx Duplicates (Web Forms)
-
Open the
CoveoSearch.ascxduplicate file in a text editor. -
Locate the line
<div class="coveo-main-section">and insert the following code block on the next line:<div class="coveo-distance-resources-section"> <sc:placeholder key="coveo-distance-resources" runat="server"></sc:placeholder> </div> -
Save and close the file.
-
Repeat procedure for any
CoveoSearch.ascxduplicate.
Adding Distance Resources to SearchView.cshtml Duplicates (MVC)
-
Open the SearchView.cshtml duplicate file in a text editor.
-
Locate the line
<div class="coveo-main-section">and insert the following code block on the next line:<div class="coveo-distance-resources-section"> @Html.Sitecore().Placeholder("coveo-distance-resources-mvc") </div> -
Save and close the file.
-
Repeat the procedure for any
SearchView.cshtmlduplicate.