Override tab order for a particular page type



First of all, i'm very new to EpiServer, so please forgive me for any blatantly incorrect assumptions I might make.

I'm currently reording/restructuring tabs and properties for a particular page type according to a client's specifications and as far as I can tell, tabs are defined globally as are the order values for each tab. Is it possible to change the ordering of tabs for a particular page type without affecting the ordering of others? And if so, how might I go about it?

Thanks for any help you might be able to provide.

Jun 24, 2019 21:49

Hi Alex,

If you want to change the tab order for particular page then you can use this-

public static class TabNames
    [Display(Order = 100)]
    public const string Sidebar = "Sidebar";

    [Display(Order = 110)]
    public const string Description = "Description";

For more information you can refer below article- 




Jun 25, 2019 9:05

And for the custom tab ordering per page type you can then use (using the link above to support the new CustomTab attribute)

[ContentType(GUID = "a35c0203-e548-4918-b932-05205cc8c491", Order = 1)]
[CustomTab("Sidebar", 100)]
[CustomTab("Description", 110)]
public class StandardPage : EditorialPageBase
    [Display(Name = "Text", Order = 10, GroupName = "Description")]
    public virtual string Text { get; set; }

    [Display(Name = "Sidebar", Order = 10, GroupName = "Sidebar")]
    public virtual ContentArea SidebarContentArea { get; set; }
Jun 25, 2019 9:59
* 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.