public static void OpenItem(Item item) { Assert.IsNotNull(item, "item is null"); Sitecore.Text.UrlString parameters = new Sitecore.Text.UrlString(); parameters.Add("id", item.ID.ToString()); parameters.Add("fo", item.ID.ToString()); parameters.Add("la", item.Language.Name); parameters.Add("vs", item.Version.Number.ToString()); parameters.Add("sc_content", item.Database.Name); Sitecore.Shell.Framework.Windows.RunApplication("Content editor", parameters.ToString()); }