Field Value change not being saved
问题 I am trying to change a field value dynamically from back-end, but looks like the changes are not being saved. Code item is fetched from the master database. using (new EditContext(item)) { item.Editing.BeginEdit(); try { //Value is updated here from "" to Test item.Fields["Content"].Value = "Test"; } finally { //item.Fields["Content"].Value is "" again. item.Editing.AcceptChanges(); item.Editing.EndEdit(); } } UPDATE As @sitecore climber said, I did change my code back to use - new Sitecore