Just a quick note about an odd quirk I found today. While modifying an Item, you have to put it into Edit mode (usingĀ item.Editing.BeginEdit() ), however, if you change the Template of the Item (using item.ChangeTemplate(<newTemplate>) ), the next change you try to make will fail, because changing the Template pulls the Item out of […]
Posts Categorized: Sitecore
Sitecore query items returning out of order
I’ve received questions about this a few times, so I decided to write a post on the issue. The problem people complain about is that they aren’t getting back Sitecore items in the same order they appear in the content tree. Sometimes they were previously getting them back in the right order, but now they’re […]