Not sure this is possible. As currently `IUIDescriptorInitializer` is requesting a typeof() page to change icons for. Sample:
[ServiceConfiguration(typeof(IUIDescriptorInitializer))]
public class ContainerPageUIDescriptorInitializer : IUIDescriptorInitializer
{
public void Initialize(UIDescriptorRegistry registry)
{
var containerTypes = TypeAttributeHelper.GetTypesChildOf<IContainerPage>();
foreach (var type in containerTypes)
{
registry.Add(new UIDescriptor(type)
{
DefaultView = CmsViewNames.AllPropertiesView,
IconClass = ContentTypeCssClassNames.Container
});
}
}
}
Implemented the class above and the TypeAttributeHelper found here (http://tech-fellow.net/2014/01/31/add-support-container-pages-episerver-7-5/) but the Initialize function in class ContainerPageUIDescriptorInitializer does not get called. Do I need to register this in some way?
Hi!
Our editors are requesting an icon similar to the one in epi 6 that indicates which page is new when you've copied a page.
/Peter