Friday 7 June 2019

Sitecore Standard Template Fields - Part-4



Sitecore Standard Template: Layout Section

The Layout section of the standard template contains the following fields that control how Sitecore renders an item:
  • Renderings (Sitecore.FieldIDs.LayoutField): Often defined in standard values for data templates, this is the field in which Sitecore stores shared (unversioned/untranslated) layout details for items.
  • Final Renderings (Sitecore.FieldIDs.FinalLayoutField): Typically defined in individual items rather than standard values, this is the field in which Sitecore stores the versioned and translated components of layout details.
  • Renderers (Sitecore.FieldIDs.Renderers): This is the field in which an item can specify renderers (for rendering items in the context of a page generated from another item) for use by the Sitecore.Web.UI.WebControls.ItemRenderer web control or the ItemRenderer MVC renderer.
  • Controller (Sitecore.Mvc. Names.FieldNames.Controller, which actually provides the name of the field rather than its ID): This field can specify an MVC controller to invoke when a client requests the item.
  • Controller Action (Sitecore.Mvc. Names.FieldNames.ControllerAction, which also provides the name of the field rather than its ID): This field can specify the name of an action method in the MVC controller to invoke when a client requests the item. A value in this field makes sense only when the __Controller field has a value.
  • Presets (Sitecore.Web.WebEditUtil.LayoutPresetsFieldId): This field can store references to preconfigured layout details that users can apply to items.
  • Page Level Test Set Definition (Sitecore.Analytics.AnalyticsIds.PageLevelTestDefinitionField): Manages page-level tests for the item.


Sitecore Standard Template: Lifetime Section


The Lifetime section of the standard template contains fields for managing publishing restrictions at the version level. Sitecore manages item-level publishing restrictions in fields within the Publishing section of the standard template.


  • Valid to (Sitecore.FieldIDs.ValidTo): The date after which publishing operations will remove the version from publishing target databases.
  • Hide version (Sitecore.FieldIDs.HideVersion): Prevents publishing of the version to publishing target databases.
  • Valid from (Sitecore.FieldIDs.ValidFrom): Date after which publishing operations will remove the version from publishing target databases.


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....