On this tab you can modify the fields of the document type. You can add new fields, new system fields, categories, move the fields up/down or remove the fields. In the right-hand part you can specify the field properties.


Database section


This option is displayed only when adding a system attribute. The following options are available:

Document attribute - offers system fields of the document

Node attribute - offers system fields of the document's content tree node

Attribute name

Name of the attribute which will be displayed in the properties list.

Attribute type

Type of value specified by this attribute.

Attribute size

Reserved size of value that can be entered into the given property.

Allow empty value

Check this if the property should not be controlled for empty values.

Attribute default value

Predefined value for the given attribute.

Display attribute in the editing form

If you uncheck this property, the attribute in question will not be available in the configuration dialog in CMS Desk.

Field section

Field caption

Name of the property which will be displayed in configuration of the given web part in CMS Desk.

Field type

Input type of the web part property.

Field description

Tooltip which will be displayed for this attribute.

Spell-check this field

If checked, this particular field of the edited document can be spell checked on the Form tab in the CMS Desk -> Content section.

Validation section

Regular expression

This regular expression will be used for validator of the given web part.

Min length

Minimal length for inserting values.

Max length

Maximal length for inserting values.

Error message

Error message for validator.

Design section

Caption style

Here you can add css styles for caption of the given attribute.

Input style

Here you can add css styles for input of the given attribute.

Control CSS class

CSS class name which will style this property.


Please note: Not all fields may be available depending on the selected "Field type".


Detailed information about document types and transformations can be found in Developer's Guide -> Development -> Document types.


Page url: http://devnet.kentico.com/docs/5_5r2/contexthelp/index.html?fields_tab2.htm