This key defines defines fixed data sets to populate Select and Multiselect inputs at a given level of the configuration cascade.
This key has no default.
If undefined at higher levels of the configuration cascade, _select_data will default to
any values configured in the CloudCannon configuration file.
For more information, please read our documentation on Select and Multiselect inputs.
Appears in
├── [*]
│ └── _select_data
├── create
│ └── _select_data
├── collections_config
│ └── *
│ ├── schemas
│ │ └── *
│ │ └── _select_data
│ └── _select_data
├── file_config
│ └── [*]
│ └── _select_data
└── Snippet
└── _select_dataType
Object<_select_data.*>
Values
Appears in: _select_data.*.
Appears in: _select_data.*.
Appears in: _select_data.*.
Appears in: _select_data.*.
Examples
In this example, we have configured the blog_tags Multiselect input for the blog Collection.
Copied to clipboard
collections_config:
blog:
_select_data:
blog_topics:
- Opinion
- Feature
- Resource{
"collections_config": {
"blog": {
"_select_data": {
"blog_topics": [
"Opinion",
"Feature",
"Resource"
]
}
}
}
}