...
Example of reference screen detail view:
...
Configuration Reference
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 |
...
`item` - the currently viewed item
`ref_item` - the referenced item
fields available in `item` and `ref_item`:
item.created_at
item.external_id
item.keywords
item.language
item.link
item.title
...
. |
...
|
...
| Required if no subtypes are specified. Squirro search query used to return reference items for particular item. Interpreted as Jinja2 template. |
...
item
- the currently viewed item
ref_item
- the referenced item
fields available in
item
and ref_item
:
item.created_at
item.external_id
...
. |
...
item.keywords
item.language
item.link
item.title
lang.get_name(item.language)
- get a human readable language name based on ISO 639-1 code
|
...
| 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 See: Accessible variables and functions |
...
item
- the currently viewed item
ref_item
- the referenced item
fields available in
item
and ref_item
:
item.created_at
item.external_id
item.keywords
item.language
...
. |
...
item.title
lang.get_name(item.language)
- get a human readable language name based on ISO 639-1 code
| Required |
...
| Squirro search query used to return reference items for particular item. Required if no subtypes are specified. Interpreted as Jinja2 template. See: Accessible variables and functions. | |
Accessible variables and functions:
item
- the currently viewed itemref_item
- the referenced itemfields available in
item
andref_item:
item.created_at
item.external_id
item.id
item.keywords
item.language
item.link
item.title
lang.get_name(item.language) -
get a human readable language name based on ISO 639-1 code