Field Setting

From Sense/Net Wiki
Jump to: navigation, search
  •  
  •  
  •  
  •  
  • 100%
  • 6.0
  • Enterprise
  • Community
  • Planned

Overview

Field Setting
Fields can be configured to behave different ways. This is controlled by their configuration - or with other name: their Field Setting. The Field Setting of a Field contains properties that define the behavior of the Field - for example a Field can be configured as read only or compulsory to fill. The Field Setting of Fields can be adjusted in the Content Type Definition, with the Configuration element.

Details

As Fields build up Content, the set of contained Fields are defined when Content Types are defined. The Content Type Definition (CTD) for different Content Types holds the Field definition information besides a couple of Content Type-related configuration settings. When defining a Content Type the contained Fields can be defined in the CTD with XML fragments describing the type of the Field, metadata and Field Setting (aka Field configuration). The Field Setting is the part of the CTD Field Definition that is defined by the Configuration element.

Field Setting and Field types

Different Field types have different Field Settings. Check out the reference documentation of Fields to learn about Field Settings of the different Fields:

Besides Field type-specific settings there are a couple common settings that are available for all Fields. For a complete list of common Field Setting configuration properties see:

Example/Tutorials

You can find examples for Field definition and Field configuration in the reference documentation of the Content Type Definition:

Related links

References