Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
Yes, you need to create a new class that inherits from PageTypeBuilder.Tab.
using EPiServer.Security; using PageTypeBuilder; namespace EPiServer.Templates.Public.Tabs { public class Advanced : Tab { public override string Name { get { return "Advanced"; } } public override AccessLevel RequiredAccess { get { return AccessLevel.Edit; } } public override int SortIndex { get { return 20; } } } }
You can then set PageTypeProperty's property Tab to typeof(Advanced).
[PageTypeProperty(Tab = typeof(Advanced))] public virtual string MyProperty { get; set; }
I've also written a little guide to PageTypeBuilder that should be helpful: A developer’s guide to PageTypeBuilder. Also recommend checking out PageTypeBuilders project home page for more information and links to other blog posts.
Hope this helps.
Frederik
Hi i have a very simple question, but can't find the correct information, i am using PagetypeBuilder and want to add one property to the Advanced Tab, is this possible?