Source Item Types
Source Item Types
In a Coveo 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, therefore targeting only certain content types (see Apply an Extension to a Source).
Depending on the source, the item type is available as a value of the
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, when applicable depending on the source, so not all items of all sources necessarily have values for these four fields.
A Salesforce source can contain
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
xls (spreadsheet) files (technically stored in
Attachment objects) that are also item types which values are available from the
Find the Source Item Type Values
When you create a condition for a Coveo indexing pipeline process such as a mapping or an extension, you need to know what item type value to enter for the condition.
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 and Edit the Mappings of a Source 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 won’t be displayed in the other one.
You must use the value found on items from the most appropriate of the
At the Processing stage of the indexing pipeline, the Coveo converters search for mappings to apply to specific item types. While doing so, the converters look for the following item fields to find a match with specific mappings defined in the related source in this order:
If there’s more than one specific mapping defined in the source, Coveo converters select the first one they find.
To find the source item type values
In the Coveo Administration Console, on the Content Browser (platform-ca | platform-eu | platform-au) page, you can inspect field values of individual items by looking at item Properties (see Review Item Properties).
You can also use facets on these fields to 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