Sunday 9 June 2019

Sitecore Standard Template Fields - Part-1



Sitecore Standard Template: Advanced Section

The Advanced section of the standard template defines the following fields:
  • Source (Sitecore.FieldIDs.Source): For clone items, identifies the cloned item.
  • Standard values (Sitecore.FieldIDs.StandardValues): For template definition items, the ID of the item that defines standard values for the template. It seems that logically, this field belongs in the data template for data templates rather than in the standard template for all items.
  • Tracking (Sitecore.Analytics.AnalyticsIds.TrackingField): For managing analytics properties associated with the item, including Profiles, Goals, and other Attributes (Campaigns, Events, Failure Actions, and Settings, including disabling analytics features for an item).

Sitecore Standard Template: Appearance Section

The Appearance section of the standard template defines the following fields:
  • Context Menu (Sitecore.FieldIDs.ContextMenu): Custom context menu for the item (often set in standard values for the template associated with the item).
  • Display name (Sitecore.FieldIDs.DisplayName): Display name for the item.
  • Editor (N/A): I believe that this field may be obsolete, or at least deprecated, from a time when items supported only a single custom editor.
  • Editors (Sitecore.Buckets.Utils.Constants.Editors): Custom editors (tabs) associated with the item (often set in standard values for the template associated with the item).
  • Hidden (Sitecore.FieldIDs.Hidden): To hide an item in content trees, select this checkbox for that item.
  • Icon (Sitecore.FieldIDs.Icon): Icon to render for the item (often set in standard values for the template associated with the item).
  • Read Only (Sitecore.FieldIDs.ReadOnly): To protect an item from updates, select this checkbox for that item.
  • Ribbon (Sitecore.FieldIDs.Ribbon): Configures a custom ribbon for the item (often set in standard values for the template associated with the item).
  • Skin (Sitecore.FieldIDs.Skin): For theming items in the Content Editor. To my knowledge, I have never seen this used.
  • __Sortorder (Sitecore.FieldIDs.Sortorder): For sorting items in content trees.
  • Style (Sitecore.FieldIDs.Style): For applying styles to items in content trees and fields in the content editor.
  • Subitems Sorting (Sitecore.FieldIDs.SubitemsSorting): For managing rules for sorting child items in content trees.
  • Thumbnail (Sitecore.FieldIDs.Thumbnail): Thumbnail image used for example when selecting a rendering.
  • Originator (Sitecore.FieldIDs.Originator): According to Sitecore’s own glossary, the intention of this appears to be the storage of the ID of the item in a branch template used to create an item. This did not seem to be the case in my simple tests, although there do seem to be some items in the Core database that have a value in this field that seems to match this purpose. The code that I think would populate this field appears obfuscated, so I gave up researching.
  • Preview (Sitecore.FieldIDs.Preview): Manages screenshots of the rendered item from various browsers.


No comments:

Post a Comment

Sitecore Publishing Service 7.0 Installation Guide

  About the Publishing Service module The Publishing Service module is an optional replacement for the existing Sitecore publishing methods....