View All Items in the Sitecore Archive for Non Admin Users

I recently had a requirement that specific non-admin content authors should be able to view all items in the Sitecore Archive. I opened Sitecore.Shell.Applications.Archives.RecycleBin.RecycleBinPage from the Sitecore.Client.dll in dotPeek and noticed that the method GetArchiveEntries() calls into the ArchiveManager.GetArchive and returns an IPageable object. So, we can override the default archive provider and return our... Continue Reading →

Sitecore Source Field Code: query that implements IDataSource

I came across something cool today! When a CheckList, MultiList, TreeList, or etc. field are on your template, they eventually call into the Sitecore.Web.UI.HtmlControls.Data.LookupSources.GetItems() class and method. This calls the getLookupSourceItems pipline. This pipeline contains the following processor: If we take a look at Sitecore.Buckets.FieldTypes.CustomDataSource in Sitecore.Buckets.dll, we can see that this class will allow... Continue Reading →

Blog at

Up ↑