How to Change an Item’s Template in Sitecore CMS

January 6, 2015

Blog | Development | How to Change an Item’s Template in Sitecore CMS
How to Change an Item’s Template in Sitecore CMS

This is the fifteenth in a series of posts about learning how to use and develop for Sitecore CMS; it is the follow-up post to “How to Configure Template Sections in Sitecore CMS”. In this “How to” post I will be covering how to change an item's template after the item has been created in Sitecore CMS.

This is useful when the wrong template was selected while creating an item, or if a new template is created and existing items are to be updated to the new template.

Caution!

Be careful when changing templates. If the original template has fields that aren’t in the new template, the data in those fields will be lost. Be sure to back up content before making changes.

Changing Templates

Select the item you’d like to change.

Click the “Change” button in the “Template” section of the “Configure” tab in the ribbon.

Sitecore 8 showing the change button in the ribbon

Sitecore 8 showing the change button in the ribbon

Sitecore 6 showing the change button in the ribbon

Sitecore 6 showing the change button in the ribbon

A wizard will appear where the new template can be selected.

Sitecore 8 showing the Select template wizard

Sitecore 8 showing the Select template wizard

Sitecore 6 showing the Select template wizard

Sitecore 6 showing the Select template wizard

Select the template you’d like to change the item to. In this case, I’ve selected /sitecore/Templates/System/Templates/Standard template as an example.

Click the “Next” button to continue.

The wizard will show a review of the changes being made, along with a notice for any fields where data may be lost. Here, any data in the “Example Field” field will be lost if the template is changed.

Sitecore 8 showing the review step in the change template process

Sitecore 8 showing the review step in the change template process

Sitecore 6 showing the review step in the change template process

Sitecore 6 showing the review step in the change template process

Click “Next” to continue.

A confirmation page will be shown.

Sitecore 8 showing the confirmation page for the template change

Sitecore 8 showing the confirmation page for the template change

Sitecore 6 showing the confirmation page for the template change

Sitecore 6 showing the confirmation page for the template change

Clicking “Finish” will close the wizard, and the item will be updated to the selected template.


Up next: “How to Manage Default Field Values in Sitecore CMS”

Tim Leverett

Senior Developer
Tags
  • Sitecore

Recent Work

Check out what else we've been working on