Skip to Content
2
Former Member
Apr 30, 2018 at 05:28 PM

Is it possible to show additional info for dynamic node the same as in the tree view

297 Views

Hello everyone, In the Backoffice Product Cockpit from OOTB we have the next configuration from pcmbackoffice-backoffice-config.xml :

    <context component="pcmbackoffice-catalogFilterTree">
         <n:explorer-tree xmlns:n="http://www.hybris.com/cockpitng/config/explorertree">
             <n:dynamic-node id="Catalogs" indexing-depth="15" populator-bean-id="catalogTreeModelPopulator" expanded-by-default="true"/>
         </n:explorer-tree>
     </context>

and as result in the Product cockpit perspective I have tree with catalog -> categories: alt text

It works good, but I want to show additional information about this category (my custom collection itemTranslations) and when I click on category - open additional information.

if I go to administration perspective and configure through config:

     <context type="Category" component="collection-browser-tree" tree-context="_root_">
         <tree:tree-collection-nodes xmlns:tree="http://www.hybris.com/cockpitng/component/treeCollection">
             <tree:node attribute="itemTranslations"/>
             <tree:node attribute="products"/>
         </tree:tree-collection-nodes>
     </context>


and as result in the tree-view I have:

alt text

Is it possible configure in the dynamic node the same as tree-view????

P.S. also CatalogTreeModelPopulator has a multi select choice (_multipleChoice). Can I select several node and delete them as the same in the list-view??

Attachments

10759-treenode.png (13.7 kB)