Data template sections
Data template sections organize fields into related groups. Fields are always stored within a section. Sections, however, are only reflected in the Content Editor. Programmers do not need to indicate a section when extracting content from a field. When working with data template sections:
-
Use sections to group fields logically, making them easier for content authors to find and use.
-
Consider creating data templates with a single section containing related fields to use as one of multiple base templates. This makes it easy to build up a new data template with multiple standard sections of fields.
Section definition items are stored under the corresponding data template definition item. In the following example, you can see the data template Product and immediately under it is the Data section, which, in turn, contains the fields Title, Description, and Price.
When you edit an item associated with a data template, each section appears as a collapsible group of fields in the Content Editor.
The Add a new section field of the section definition is used as a label for the section in the Content Editor. You can localize section names.