QuanticRecommendationList
QuanticRecommendationList
The QuanticRecommendationList
component displays recommendations by applying one or more result templates in different layouts.
Example
<c-quantic-recommendation-list engine-id={engineId} recommendation={recommendationId} fields-to-include="objecttype,filetype" number-of-recommendations="3" recommendations-per-row="10" heading-level="1"></c-quantic-recommendation-list>
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
|
|
The ID of the engine instance the component registers to. |
|
|
|
|
The recommendation identifier used by the Coveo platform to retrieve recommended documents. |
|
|
|
|
The total number of recommendations to fetch. |
|
|
|
|
A list of fields to include in the query results, separated by commas. |
|
|
|
|
The label of the component. This label is displayed in the component header. |
|
|
|
|
The Heading level to use for the heading label, accepted values are integers from 1 to 6. |
|
|
|
|
The variant of the component. Accepted variants are |
|
|
|
|
The number of recommendations to display, per row. Each recommendation in the row will be displayed as 1/recommendationsPerRow of the container width. |
|
|
Custom Events
The component fires the following custom event:
-
registerrecommendationtemplates
XML Configuration File Elements
The following XML configuration file elements apply (see XML Configuration File Elements).
Metadata | Value |
---|---|
|
|
|
|