Export to Excel Component

Exporting search results to a Microsoft Excel™ spreadsheet (i.e., to an .xlsx file) can be useful for end users who want to leverage a search interface to generate information lists.

The ExportToExcel component appears as an option of the Settings menu Settings when a Settings component is initialized.

Export to Excel Option

The maximum number of results in a spreadsheet is 1000. This is how Coveo works by design, as it’s a relevancy tool that’s not supposed to extract all the results as reporting tools do.

Adding the Export to Excel Feature to a Search Interface

Find the <div class="coveoSettings"> section, and then add the following code to the section:

<div class="CoveoExportToExcel"></div>

The <div class="coveo-search-section"> section should now look like this:

<div class="coveo-search-section">
  <div class="CoveoSearchbox" data-enable-omnibox="true"></div>
  <div class="CoveoSettings">
    <div class="CoveoExportToExcel"></div>
  </div>
</div>
What's Next for Me?