...
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
...
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
...