Data template sections

Current version: 9.2

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.

Product item with Data subsection

When you edit an item associated with a data template, each section appears as a collapsible group of fields in the Content Editor.

Product item fields as shown in the Content Editor
Note

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.

Do you have some feedback for us?

If you have suggestions for improving this article,