...
The topic.references
configuration takes a JSON dictionary as input (see example).
Key | Type | Description |
---|---|---|
Reference Types | ||
| Required
| Array containing all individually defined |
Reference Type Object | ||
| Required
| Unique reference type name used internally |
| Required
| Material icon name used in Search results page and alongside the title above reference item |
| Required
| Title to be displayed above reference item and as alt-text to icon in Search page |
|
| Only used if present and no subtypes are specified. Reference item specific (overrides |
|
| Required if no subtypes are specified. Squirro search query used to return reference items for particular item. Interpreted as Jinja2 template. |
|
| Optional dynamic field value based on
Accessible variables and functions: |
Reference Subtypes | ||
|
| List of reference subtypes if any. |
Reference Subtype Object | ||
| Required
| Unique reference type name used internally |
| Required
| Title to be displayed above reference item and as alt-text to icon in Search page |
|
| Reference item specific (overrides |
| Required
| Squirro search query used to return reference items for particular item. Required if no subtypes are specified. Interpreted as Jinja2 template. |
Accessible variables and functions
...
The reference screen is accessed on a Card widget when clicking on the icon on a card that was defined in the reference configuration.
...