Adding External Fields in Coveo for Sitecore

External fields are Coveo fields that aren’t found in Sitecore, such as:

  1. Fields in sources non-related to Sitecore.
  2. Coveo system fields.

When adding external fields on Sitecore items:

  1. Locate the fieldMap section of the Coveo.SearchProvider.Custom.config file (see Understanding the Coveo Search Provider Configuration File).
  2. In the externalFields node, add the field name in that following format <field fieldName="myExternalField"/>.
  3. Save the file and rebuild the Coveo for Sitecore indexes.

With this setting, you may now use these fields in Coveo for Sitecore facets, result templates, sort components, filtering/boosting rules.