How To Reset Individual Sitecore Fields to Standard Values
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.
item.Fields["field"].Reset();
Remember to use a SecurityDisabler when necessary!
Popular Posts
- 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
Recent Comments
- 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
Sitecore Links
- .Sitecore
- Aboo Bolaky
- Alex Shyba
- Anders Dreyer
- aweber1.0
- 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
- Techphoria414
- The Client View
- The Sitecore Experience
- Web Content Management and Delivery
Archives
- April 2013 (1)
- February 2013 (1)
- January 2013 (1)
- December 2012 (1)
- June 2012 (2)
- May 2012 (2)
- March 2012 (1)
- February 2012 (1)
- January 2012 (5)
- December 2011 (4)
- November 2011 (1)
- July 2011 (1)
- June 2011 (1)
- May 2011 (2)
- March 2011 (6)
- February 2011 (2)
- January 2011 (10)

Posted under: 



