Appears in#
└── assets_config
└── *Type#
Object
Properties#
This key defines the description text that appears at the top of the asset browser.
Appears in: assets_config.*.
Prevents renaming, moving and deleting files in this entry. This is the default for any Input that lists this entry in options.allowed_sources.
Defaults to: false
Appears in: assets_config.*.
Prevents uploading files and creating folders in this entry. This is the default for any Input that lists this entry in options.allowed_sources.
Defaults to: false
Appears in: assets_config.*.
This key defines the documentation link at the top of a Collection browser.
Collection documentation is useful for assisting your team members.
Appears in: collections_config.*, Text Input, Disabled Input, Textarea Input, Code Input, Color Input, Boolean Input, Number Input, Range Input, Rich Text Input, URL Input, Select Input, Date/Datetime Input, Time Input, File Input, Multiselect Input, Choice Input, Multichoice Input, Object Input, groups[*], [*], options.entries, groups[*], Array Input, assets_config.*.
Show examplesHide examples
In this example, the documentation link for the data Collection goes to CloudCannon Documentation.
collections_config:
data:
documentation:
url: https://cloudcannon.com/documentation/
text: CloudCannon Documentation
icon: star{
"collections_config": {
"data": {
"documentation": {
"url": "https://cloudcannon.com/documentation/",
"text": "CloudCannon Documentation",
"icon": "star"
}
}
}
}This key defines the icon for an entry. The icon appears in the Site Navigation.
Defaults to: perm_media
Allowed values: 123 360 10k 10mp 11mp 12mp 13mp 14mp 15mp 16mp and 3574 more.
Appears in: assets_config.*.
This key defines the display name for an entry. The name appears in the Site Navigation and at the top of the asset browser.
Appears in: assets_config.*.
This key defines the options for files uploaded to an entry, using the same keys as the options of a File Input. An Input that lists this entry in options.allowed_sources uses these as defaults.
Appears in: assets_config.*.
This key defines the folder an entry is limited to, relative to the root of the source. Files outside of this folder cannot be browsed, and files are uploaded to this folder by default. Defaults to the root of the source.
Appears in: assets_config.*.
This key defines where the files for an entry are stored. Set this to the reference key of a DAM connected to your Site, or to site-files for the files of your Site. Defaults to site-files.
Appears in: assets_config.*.