Infinite Loading When Trying to Preview a Document in a Quick View

Symptoms

After upgrading to Coveo for Salesforce 3.16, the document preview never stops loading and you cannot see the page Quick view.

Cause

This issue arises when two Quick view components are found in the same result template after your integration package update. The CoveoSalesforceQuickview component replaces the CoveoQuickview component, but you cannot insert both of them in the same result template.

Resolution

You have to select only one Quick view component (CoveoSalesforceQuickview or CoveoQuickview) for each result template. You need to remove the other component in your Visualforce Component page:

  1. In Setup, search for and select Visualforce Component.
    With Salesforce Lightning With Salesforce Classic
    Under Platform Tools, select Custom Code > Visualforce Components. Under Build, select Develop > Visualforce Components.
  2. Next to your component, click Edit.
  3. Search for your Quick view component and replace every Quickview with the selected one.