Field types for Schemas
In the Content Manager, Simple Schemas use predefined field types with specific parameters. Schemas are editable using the Content Manager Explorer in an interface.
The following field types exist:
- Text fields
- Accepts alphanumeric values as a single line of text or multiple lines of text. May also allow formatting.
- Number fields
- Accept numeric values.
- Date fields
- Accept dates and times.
- Embedded Schemas
- Embed an existing Embeddable Schema into the Schema that you are creating.
- External links
- Accept external links.
- Multimedia links
- Accepts zero or more links that point to a Multimedia Component.
- Component links
- Accepts zero or more links that point to a Component.
Each field type also has some parameters, as shown in the following tables.
| Field type | List fields | Number of rows | Rich text formatting | Multiple values |
|---|---|---|---|---|
| Text fields | yes | yes | yes | yes |
| Number fields | yes | no | no | yes |
| Date fields | yes | no | no | yes |
| Embedded Schemas | no | no | no | yes |
| External links | no | no | no | yes |
| Multimedia links | no | no | no | yes |
| Component links | no | no | no | yes |
| Field type | Default value | Mandatory | Custom URLs | Allow Multimedia Links |
|---|---|---|---|---|
| Text fields | yes | yes | yes | no |
| Number fields | yes | yes | yes | no |
| Date fields | yes | yes | yes | no |
| Embedded Schemas | no | yes | yes | no |
| External links | no | yes | yes | no |
| Multimedia links | yes | yes | yes | no |
| Component links | yes | yes | yes | yes |
Field type parameters
The following table describes the parameters that you may be able to set for some field types.
| Field parameter | Description |
|---|---|
| List fields | You can create list fields for, text fields, number fields, and date fields. List fields contain the following options:
|
| Number of rows | The number of rows that are displayed for a field in the form view of the Component. |
| Rich text formatting | This parameter applies to text fields only. If you select Rich text formatting for a text field, you enable the content author to apply formatting to the text. For more information about rich text formatting options, refer to Creating a format area field. |
| Multiple values | You can set a "multiple-value" parameter for all field types. This means that the field you are defining will accept more than one value for the same field. |
| Default value | You can specify a default value for a field. |
| Mandatory | If you mark a field as Mandatory, the content author must provide a value for this field in order to save the item. |
| Custom URLs | Custom URLs create a link from the field description to an HTTP page or to other files. You can, for example, use custom URLs for the following purposes:
|
| Allow Multimedia Links | This option is available for Component Link fields only. Enabling this value allows content authors to add either a Component Link or a Multimedia Link to a Component Link field. Use this option if you want to allow either type of content for a Component Link field. |