How to Create a Template Without Standard Fields in Sitecore CMS
March 8, 2017
This is the thirty-fifth post in a series about learning how to use and develop for Sitecore CMS; it is the follow-up post to “How to View Raw Values in Sitecore CMS”. In this “How to” post I go over how to create a template without extending the standard template and thereby inheriting the standard fields in Sitecore CMS.
When creating a template, Sitecore will default to extending the “Standard template”, which is located in
If you choose not to extend any template or remove the Standard template from the “Base template” field, Sitecore will still implicitly extend the Standard template, and items created from your custom template will still contain all the standard fields.
As a general rule this is a good thing. Most of the time you really don’t want to lose the standard fields, because they’re helpful in the content editor.
There are some exceptions though. If you want to modify the Standard template to add fields to all items, you’ll need to assign your custom template as a base template of
/sitecore/templates/System/Templates/Standard template. If your custom template extends Standard template, you won’t be able to have Standard template extend your custom template because it would create a circular reference.
To make a template that no longer inherits from Standard template, start by creating the new template.
View raw values and update the “Base template” field to
Save the changes to the template. A warning about removing base templates should appear.
Click “OK” and switch back from viewing raw values.
Creating an item from this template, such as
__Standard Values will show a warning on the item details that the item has no fields.
Stay up to date with our email updates!
If you found this post helpful, there are plenty more where it came from! You'll find the first 10 here.
Download the first 10 posts in our Sitecore how-to series by Developer Tim Leverett!