Vulnerability in EPiServer.Forms

Try our conversational search powered by Generative AI!

Icon indicating which is the new page when copying in epi7



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.



Mar 28, 2014 11:06

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)
            registry.Add(new UIDescriptor(type)
                                 DefaultView = CmsViewNames.AllPropertiesView,
                                 IconClass = ContentTypeCssClassNames.Container


Mar 28, 2014 21:45

Ah ok, too bad.

Thanks for letting me know though!


Mar 30, 2014 16:00

Implemented the class above and the TypeAttributeHelper found here ( but the Initialize function in class ContainerPageUIDescriptorInitializer does not get called. Do I need to register this in some way?

Apr 15, 2014 16:02

In my case I only need a container icon for pages using IContainerPage.

Apr 15, 2014 16:03

HI Magnus,


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).

Apr 15, 2014 16:40
This thread is locked and should be used for reference only.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.