Did you know that you can access special properties of a Sitecore item the same way you get a typical field's value?  Supported 'special fields' are: @id = Item.ID.ToString() @key = Item.Key @lang = Item.Language.ToString() @mid = Item.BranchID.ToString() @name = Item.Name @tid = Item.... [More]

Field [More]

There are many ways to get the value of a Sitecore field and each is slightly different. string fieldName = "__Icon"; Sitecore.Data.Items.Item someItem = Sitecore.Context.Database.GetItem("/sitecore/content"); Sitecore.Data.Fields.Field someField = someItem.Fields[fieldName]; // you could use fie... [More]

I had discovered a little bug revolving around the Sitecore.Data.Fields.Field.ContainsStandardValue property in Sitecore (at least 6.4.1.101221 through current). You cannot trust the value returned by Field.ContainsStandardValue if you have made any of the following calls: Field.HasValue Field.G... [More]

A common practice in all of my Sitecore sites is to have some sort of content fallback. What this means is that a field's value can come from somewhere other than the field itself, the source item (if it is a clone), or its standard values. Content fallback is an excellent way to increase editor pr... [More]