AnsweredAssumed Answered

Aikau: How to set rootNode for CategoryTree widget?

Question asked by npavlov on Mar 22, 2018
Latest reply on Jun 7, 2018 by npavlov

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?

Attachments

Outcomes