type

CollectionAdmin

Serializable collection presentation metadata.

Properties

PropertyTypeDescription
HiddenboolHidden leaves the collection out of the admin navigation, dashboard and search, and its admin routes show not-found. It is presentation, not security: the REST, GraphQL and Local APIs, access rules and cascades are unchanged, and relationships to it still render. Changing it needs no migration.
UseAsTitlestringField path used as the document’s author-facing title.
DefaultColumns[]stringInitial field paths shown in the collection list.
GroupstringAuthor-facing navigation group.
GroupTranslationsmap[string]stringTranslated navigation groups.
DescriptionstringCollection description shown to authors.
DescriptionTranslationsmap[string]stringTranslated collection descriptions.
FolderFieldstringField path used for folder organization.
ParentFieldstringField path used for hierarchical parent relationships.
LivePreviewLivePreviewConfigConfigures live-preview URL and viewports.

Full signature

type CollectionAdmin struct { // Hidden leaves the collection out of the admin navigation, dashboard and // search, and its admin routes show not-found. It is presentation, not // security: the REST, GraphQL and Local APIs, access rules and cascades // are unchanged, and relationships to it still render. Changing it needs // no migration. Hidden bool UseAsTitle string DefaultColumns []string Group string GroupTranslations map[string]string Description string DescriptionTranslations map[string]string FolderField string ParentField string LivePreview LivePreviewConfig }

Source core/config.go:185