Monday 10 June 2019

Sitecore Standard Template Fields - Part-3



Sitecore Standard Template: Insert Options Section

The Insert Options section of the standard template contains fields that define insert options for the item. Insert options control which types of items CMS users can create (insert) beneath existing items. In general, best practice is to assign insert options in standard values for data templates rather than individual items.
  • Insert Rules (N/A): Insert rules to apply to insert options. In general, I advise the use of insert options rules, which use the rules engine, rather than insert rules, which use functionality more specific to insert options.
  • Masters (Sitecore.FieldIDs.Branches and Sitecore.FieldIDs.Masters): Insert options for the item (masters is an old name for functionality similar to insert options).

Sitecore Standard Template: Item Buckets Section

The Item Buckets section of the standard template contains fields that affect buckets and bucketing. Buckets support storage, path management, search, an nd other features for very large numbers of Sitecore items. Most of these fields apply to buckets, of which most solutions should have very few if any. The __Bucketable and __Should Not Organize In Bucket fields are exceptions to the previous statement, as they apply to items within buckets. In general, those fields should be set in the standard values of the templates associated with those items rather than in individual items.
  • Bucket Parent Reference (Sitecore.Buckets.Util.Constants.BucketParentReference): Set to the ID of the parent of the item before its relocation into a bucket. Unbucketing an item moves it back under that parent. Sitecore stores a value in this field automatically as appropriate.
  • Is Bucket (Sitecore.Buckets.Util.Constants.IsBucket): Indicates that an item is a bucket.
  • Bucketable (Sitecore.Buckets.Util.Constants.BucketableField): Indicates that an item should be hidden if it exists in a bucket. It
  • Should Not Organize In Bucket (Sitecore.Buckets.Util.Constants.ShouldNotOrganizeInBucket): Indicates not to apply bucketing operations to the descendants of an item (it will maintain its structure within a bucket).
  • Default Bucket Query (Sitecore.Buckets.Util.Constants.DefaultBucketQuery): Default filtering for bucket Search pane.
  • Persistent Bucket Filter (Sitecore.Buckets.Util.Constants.DefaultFilter): Similar to __Default Bucket Query, but read-only (CMS users cannot change the search criteria for the bucket).
  • Enabled Views (Sitecore.Buckets.Util.Constants.EnabledView): Views enabled for this item. In this context, views expose alternate user interfaces for working with items in a bucket.
  • Default View (Sitecore.Buckets.Util.Constants.ItemViews): Default view for working with items in a bucket.
  • Quick Actions (Sitecore.Buckets.Util.Constants.QuickActionField): Quick actions expose CMS operations in views and potentially other user interfaces.

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