FileField

FileField

A CMS Collection field that stores a file asset (FileAsset).

Methods & Properties

The file extensions that are allowed for uploads to this field, e.g. ["pdf", "txt"].

Whether this field is required. Required fields must have a value set on every CMS item.

The unique identifier of the field.

The display name of the field as shown in the UI.

Use to rename any field:

Remove this field.