This key represents a key preview entry type for displaying data from a specific key on Cards in the Collection browser, Structures, and Snippets.
The value is an object that contains a key property with a string value. This displays the value of the specified data key in card previews.
Appears in
├── Preview Entry
│ └── Key Preview Entry
├── Text Input
│ └── options
│ ├── icon_color
│ │ └── Key Preview Entry
│ └── icon_background_color
│ └── Key Preview Entry
├── text
│ └── Key Preview Entry
├── subtext
│ └── Key Preview Entry
├── image
│ └── Key Preview Entry
├── icon
│ └── Key Preview Entry
├── icon_color
│ └── Key Preview Entry
├── icon_background_color
│ └── Key Preview Entry
└── background_color
└── Key Preview EntryType
Object
Properties
This key defines the data key name to display in a key preview entry.
The value is a string that specifies the name of a data key whose value will be displayed on Cards in the Collection browser, Structures, and Snippets.
Appears in: Key Preview Entry.
Show examplesHide examples
In this example, we have configured the key value to display the title field.
Copied to clipboard
collections_config:
blog:
preview:
text:
- key: title{
"collections_config": {
"blog": {
"preview": {
"text": [
{
"key": "title"
}
]
}
}
}
}Examples
In this example, we have configured a key preview entry to display the title key.
Copied to clipboard
collections_config:
blog:
preview:
text:
- key: title{
"collections_config": {
"blog": {
"preview": {
"text": [
{
"key": "title"
}
]
}
}
}
}