What is field type in Sitecore.

The field type specifies which user interface control the Content Editor displays to accept input for this field and also controls the storage format for this field.

Each field within a template is paired with a specific field type. This field type governs several aspects:

? The user interface component displayed by Sitecore for that field in interfaces like the Content Editor and the Page Editor.

? The formatting of the stored value associated with the field.

? The .NET classes and coding methodologies utilized by developers to retrieve the field's value, including classes within the Sitecore.Data.Fields namespace, the renderField pipeline, and the FieldRenderer web control.

The following field types are available in Sitecore 10.3:

In Sitecore 10.3, the available field types are categorized as follows:

JSS Types: These are field types specifically designed for use within Sitecore JavaScript Services (JSS) applications. They facilitate seamless integration and interaction between Sitecore and client-side JavaScript frameworks using GraphQL.

Simple Types: These are basic field types commonly used for storing Checkbox, Date, Datetime, File, Image, Integer, Multi-Line Text, Number, Password, Rich Text, and Single-Line Text data types.

List Types: List types include field types that allow for the selection of multiple items from a predefined list, such as Checklist, Droplist, Grouped Droplink, Grouped Droplist, Lookup Name Lookup Value List, Multilist, Multilist with Search, Multiroot Treelist, Name Lookup Value List, Name Value List, Redirect Map, Tag Treelist, Taglist, Treelist, and TreelistEx fields.

Link Types: These field types enable the creation of links between different items within the Sitecore content tree, including internal links to other content items, media items, or external URLs. Link Types fields are Droplink, Droptree, General Link, General Link with Search, Version Identity, and Version Link.

Developer Types: Developer types consist of field types that offer advanced functionality and customization options for developers, allowing them to extend Sitecore's capabilities and integrate with custom business logic. Developer Types fields are Database Droplist, Domain Droplist, Grid Parameters, Icon, IFrame, Language Droplist, Site Droplist, Styling Parameters, Tristate, and Rendering Parameters.

System Types: These field types are fundamental to Sitecore's internal operations and include fields used for system metadata, such as Attachment, Custom, Datasource, Internal Link, Layout, Page Preview, Query Builder, Query Datasource, Rendering Datasource, Rules, Security, Template Field Source, and Thumbnail.

Deprecated Types: Deprecated field types are those that have been marked for removal or replacement in future versions of Sitecore. It is recommended to avoid using these types in new implementations and to migrate existing instances to supported alternatives. Deprecated Types fields are File Drop Area, html, link, lookup, memo, reference, server file, test, tree list, Treelist with Search, and valuelookup



要查看或添加评论,请登录

Praveen Dubey的更多文章

社区洞察

其他会员也浏览了