Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

EPiServer.Url not working in EditorDescriptor for page - EPiServer 11


We recently upgraded to EPiServer 11, and when that happened the EPiServer.Url seems to stop working in a EditorDescriptor for page.

[EditorDescriptor(EditorDescriptorType = typeof(GameBrowserPuffEditorDesciptor))]
        public virtual IList CustomPuffs { get; set; }

public class GameBrowserPuffEditorDesciptor : CollectionEditorDescriptor where T : new()
        public GameBrowserPuffEditorDesciptor() : base()
            GridDefinition.DisableDndSorting = true;

public class GameBrowserPuff
        public GameBrowserPuff()
            if (Id == Guid.Empty) Id = Guid.NewGuid();

        public Guid Id { get; }

        [Display(Order = 30, Name = "Url")]
        public virtual Url Url { get; set; }

When publishing the page that contains the property the EPiServer.Url is emptied and results in a runtime error.

Is this not supported in EPiServer 11 anymore? Or is it replaced with something else?

May 16, 2018 8:56

Episerver URL is still supportes as far as I know, maybe it has something to do with how you do your editordescriptor.

By the look of the code, any reason why you not using a local block for that?

May 16, 2018 9:40

Please elaborate on 'local block'? What do you mean? This specific instance is already in a block, but there are other instances where similar types are used in pages.

Edited, May 16, 2018 9:43
* 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.