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]