Source Item Types

In a Coveo Cloud source, item types define the nature of each item, i.e., what kind of content it represents.

Knowing what item types your source contains allows you to apply indexing pipeline extensions (IPE) to specific items, thus targeting only certain content types (see Applying an Extension to a Source).

Depending on the source, the item type is available as a value of the objecttype, mappingtype, documenttype, or filetype standard field, or even of more than one of these fields within a single source. The value of these standard fields is typically set at the indexing pipeline Crawling stage (see Coveo Cloud V2 Indexing Pipeline), when applicable depending on the source, so not all items of all sources necessarily have values for all of these four fields.

A Salesforce source can contain Contact, Lead, Case, or Attachment item types. These item types correspond to Salesforce object types. These values are available as values of the objecttype field. The source can also contain pdf or xls (spreadsheet) files (technically stored in Attachment objects) that are also item types which values are available from the filetype field.

Finding the Source Item Type Values

When you create a condition for a Coveo Cloud indexing pipeline process such as a mapping or an extension, you need to know what item type value to enter for the condition (see Adding and Managing Source Mappings or Edit Source Extensions).

You may want to apply a mapping and an extension rule to the same specific item type. In that case, when you add the item type in either the Edit Source Extensions: [Source_Name] and Edit the Mappings of a Source: [Source_Name] panels of the administration console, you must add the item type in the other panel as well. In other words, the item type you added in the first panel will not be displayed in the other one.

You must use the value found on items from the most appropriate of the objecttype, mappingtype, documenttype, or filetype fields.

In the Coveo Cloud administration console, you can inspect field values of individual items from the Content Browser, looking at item Properties (see Review Item Properties).

You can also use facets on these fields to easily see what are the available values for each field and how many items have each value, but be careful, the facet item display name may be different from the actual field value.

A File Type facet may show beautified values of the actual filetype field value, such as replacing pdf with PDF file. The source item type value is still pdf.

SourceItemType-FileTypeFacet1