Source Item Types

In a Coveo Cloud V2 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 extensions to specific items, thus targeting only certain content types (see Applying an Extension to a Source).

Depending on the source type, 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 type, so not all items of all source types necessarily have values for all of these four fields.

A Salesforce source can contain Contact, Lead, Case, or Attachement 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 V2 indexing pipeline process such as a mapping or an extension, you need to know what item type value to enter for the condition (see Edit the Mappings of a Source: [SourceName] or Edit Source Extensions: [SourceName] - Panel).

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

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

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 by PDF file. The source item type value is still pdf.

SourceItemType-FileTypeFacet1