QuanticFoldedResultList

The QuanticFoldedResultList component is responsible for displaying query results by applying one or more result templates. This component can display query results that have a parent-child relationship with any level of nesting.

Example

<c-quantic-folded-result-list engine-id={engineId} fields-to-include="objecttype,gdfiletitle" collection-field="foldingcollection" parent-field="foldingparent" child-field="foldingchild" number-of-folded-results="2"></c-quantic-folded-result-list>

Properties

Property Attribute Description Type Default

engineId (required)

engine-id

The ID of the engine instance the component registers to.

string

fieldsToInclude

fields-to-include

A list of fields to include in the query results, separated by commas.

string

'date,author,source,language,filetype,documenttype,parents,sfknowledgearticleid,sfid,sfkbid,sfkavid,sfparentid'

collectionField

collection-field

The name of the field on which to do the folding.

string

'foldingcollection'

parentField

parent-field

The name of the field that determines whether a certain result is a top result containing other child results within a collection.

string

'foldingparent'

childField

child-field

The name of the field that uniquely identifies a result within collection.

string

'foldingchild'

numberOfFoldedResults

number-of-folded-results

The number of child results to fold under the root collection element before expansion.

number

2

Custom Events

The component fires the following custom event:

  • registerresulttemplates

XML Configuration File Elements

The following XML configuration file elements apply (see XML Configuration File Elements).

Metadata Value

apiVersion

56.0

isExposed

false