Skip to Content
Jan 27, 2021 at 02:12 PM

Backoffice Navigation Node Linkage To Widget

101 Views Last edit Jan 27, 2021 at 02:13 PM 2 rev

Dear Friends!

I am trying to understand how backoffice customization works for custom tree nodes in explorer tree.

As an example I have following entry in *-backoffice--config:

<context component="explorer-tree" merge-by="module" module="hybrisbackoffice" >
   <explorer-tree:navigation-node id="hmc_treenode_order">
      <explorer-tree:navigation-node id="myId"/>

The code above will add a new navigation node entry in the explorer tree in backoffice as a child node under the orders node. On the otherhand I have instantiated a widget called cte-occ-container by declaring it in the *-backoffice-widgets.xml as following:

<widget id="cte-occ-coll-container" widgetDefinitionId="com.hybris.cockpitng.collapsiblecontainer" slotId="cockpitWidgetChildrenInvisible" template="true" title="my title">
   <widget id="cte-occ-advanced-search" widgetDefinitionId="com.hybris.cockpitng.advancedsearch" slotId="center" title="" template="false">

My question is: What does make the link between the node and the widget. How will the widget be invoked and displayed on click to the node?

Thank you very much in advance.