Sitecore’s content editor has a built-in way to to reset individual fields to their standard values. Read on to learn how to do it.
First, select the Versions tab on the ribbon.
Next, click the Reset button on the Fields chunk.
The Reset Fields interface will pop up. This interface will show all of the fields of the item, including standard fields if you enable them on the View ribbon.
The fields are separated by two columns. The left column shows the current value of the fields. The right column shows the standard values. To reset a field, click the checkbox next to it.
Once you’ve checked all fields you want to reset, click the Reset button at the bottom of the interface.
Updates (5 December 2011)
Per some of the comments below, if you reset a field in the cloned item, the value will revert to the current value of the cloned item. If that item has changed from its standard value then it will not be the original standard value. This is because clones are essentially pointers to other items and they can have their own changes that deviate from their originals.
Also, to programatically reset a field in C# you can run the following simple code.
Remember to use a
SecurityDisabler when necessary!
- Using the DataSource Field with Sitecore Sublayouts
- Tame Your Sitecore Treelists
- Write to a Custom Sitecore Log with log4net
- Sitecore Upgrade Strategy
- Rendering Fully Qualified Sitecore URLs
- Sitecore Admin Pages Explained
- Managing CSS in the Sitecore Media Library
- Use Any() Instead of Count() To See if an IEnumerable Has Any Objects
- Sitecore Front-End Development Best Practices
- Scaling Sitecore Presentation Component Data Sources
- Performance tuning your Sitecore installation | Agile and ALM: Software development today on A Going Live Checklist for Sitecore Websites
- Imran Saleem on Sitecore Avanced Database Crawler Occasionally Provides Null Results
- Ty Cahill on Sitecore Front-End Development Best Practices
- Sitecore Managed Sites as Virtual Folders | Fire Breaks Ice on Sitecore Item and Field Names
- Krimos on Using the DataSource Field with Sitecore Sublayouts
- Aboo Bolaky
- Alex Shyba
- Anders Dreyer
- Brian Pedersen
- Christopher Wojciech
- Coffee => Coder => Code
- Dev Sitecored²
- Everything Web
- Image0.com blog
- John West
- Learn Sitecore
- Let's do Sitecore
- Mark van Aalst
- Matthew Kenny
- Molten Core
- Project Lifecycle
- Sean Kearney
- Sebastian Patten
- Sitecore Australia
- Sitecore Blog
- Sitecore Climber
- Sitecore Development
- Sitecore Gadgets
- The Client View
- The Sitecore Experience
- Web Content Management and Delivery