Try our conversational search powered by Generative AI!

New Tab Rendering Incorrectly



I have created an editor descriptor that places the 'Category' selector for pages into a new tab I have created called 'Topics'. However, this tab is rendering in a place that looks very unusual to me:

When you click on another tab, the tab name dissapears completely:

The 'Topics' tab has a sort order of 45, but it doesn't matter what I select as the sort order, it always renders in this position.

If I put 'Category' in one of the other existing tabs which contains other properties, everything renders fine.

Is this a bug? Please could someone explain what might be happening.


Simon R

Jul 11, 2014 14:59

PS, the images on my post have been removed for some reason. You can see the 2 images I posted here:

Edited, Jul 11, 2014 15:02

Hello Simon 

Can you post of an example of the code you are using to get this behaviour?


Jul 11, 2014 15:13

My editor descriptor looks like the following. Note that there is some other code in here that a) sets the root category for the category picker b) Sets the visibility of the category picker based on the page type. Essentially, there is just one line that sets the tab (metadata.GroupName = Tabs.Topics;)

[EditorDescriptorRegistration(TargetType = typeof(CategoryList), EditorDescriptorBehavior = EditorDescriptorBehavior.ExtendBase)]
    public class TopicsEditorDescriptor : EditorDescriptor
        public TopicsEditorDescriptor()
            EditorConfiguration["root"] = CategoryHelper.GetTopicsRootCategory().ID;

        public override void ModifyMetadata(
           ExtendedMetadata metadata,
           IEnumerable attributes)
            base.ModifyMetadata(metadata, attributes);

            if (!String.Equals(metadata.PropertyName, "icategorizable_category"))

            dynamic dynamicMetadata = metadata;
            var ownerContent = dynamicMetadata.OwnerContent;

            if (ownerContent is RsaBasePageType && ((RsaBasePageType)ownerContent).CanTag)
                metadata.ShowForEdit = true;
                metadata.GroupName = Tabs.Topics;
                metadata.ShowForEdit = false;

I also have an inititialization module that organises my tabs at app start-up, although I'm not sure if this is relevant. My code for that module is similar to the solution posted here :

Jul 11, 2014 15:19

I did some more playing around with this and it does seem that this is a bug that occurs when there are no regular properties and the category picker is the only thing present on the tab. 

If I add another property to the tab, the tab displays correctly. I can even set this new property so that it is hidden in edit mode, and the tab will still render correctly!

This will be my work around for the time being unless it gets fixed (I'm guessing this is a low priority bug in the scheme of things).

Jul 11, 2014 17:32

Hello Simon, I am glad you got this resolved! If you haven't already please report this as a bug, so we have a record of it.


Jul 11, 2014 17:35
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.