Aikau: How to set rootNode for CategoryTree widget?

cancel
Showing results for 
Search instead for 
Did you mean: 
npavlov
Active Member II

Aikau: How to set rootNode for CategoryTree widget?

Jump to solution

Hi,

I want a CategoreTree on page but I wish it to render only my category (named: IAP_DEFAULT, you can see my CategoryTree on attached image) and its subcategories. I try to use rootNode parameter, but it doesn't change anything:

{
    name: "alfresco/navigation/CategoryTree",
    config:{
        rootLabel: "Category",
        rootNode: "/cm:categoryRoot/cm:generalclassifiable/cm:IAP_DEFAULT",
        showRoot:false
    }
}

Is it possible to configure default CategoryTree widget or i have to create my own custom widget?

1 Solution

Accepted Solutions
npavlov
Active Member II

Re: Aikau: How to set rootNode for CategoryTree widget?

Jump to solution

You can extend alfresco/navigation/PathTree instead of that.

View solution in original post

1 Reply
npavlov
Active Member II

Re: Aikau: How to set rootNode for CategoryTree widget?

Jump to solution

You can extend alfresco/navigation/PathTree instead of that.