Vulnerability in EPiServer.Forms
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.
Not sure this is possible. As currently `IUIDescriptorInitializer` is requesting a typeof() page to change icons for. Sample:
public class ContainerPageUIDescriptorInitializer : IUIDescriptorInitializer
public void Initialize(UIDescriptorRegistry registry)
var containerTypes = TypeAttributeHelper.GetTypesChildOf<IContainerPage>();
foreach (var type in containerTypes)
DefaultView = CmsViewNames.AllPropertiesView,
IconClass = ContentTypeCssClassNames.Container
Ah ok, too bad.
Thanks for letting me know though!
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?
In my case I only need a container icon for pages using IContainerPage.
I've notice issue that there are cases when Initialize method is called and cases when it's not. Try restart app pool and try again. I'm not sure where the actual problem is (I bet maybe in EPiServer type scanner).