Hi!
I need to hidden a node from explorer tree on customer support backoffice. I'd created a custome backoffice extension and I've tried to do:
<context component="cs-explorer-tree" module="customersupportbackoffice" principal="customersupportagentrole" merge-by="module">
<n:explorer-tree title="customer_support">
<n:type-node code="Customer" id="customersupport_backoffice_explorerTree_customers" />
<n:type-node id="customersupportbackoffice.typenode.order.all" />
</n:explorer-tree>
</context>
I've logged in backoffice with the CustomerSupportAgent user and all nodes still appear.
Request clarification before answering.
It still doesn't work. I may have written something wrong. I've tried two forms:
1º
<context component="cs-explorer-tree" module="customersupportbackoffice" principal="customersupportadministratorrole,customersupportmanagerrole,customersupportagentrole">
<n:explorer-tree xmlns:n="http://www.hybris.com/cockpitng/config/explorertree">
<n:type-node code="CsTicket" id="customersupport_backoffice_explorerTree_tickets" merge-mode="remove"/>
<n:type-node code="CustomerReview" id="customersupport_backoffice_explorerTree_reviews" merge-mode="remove"/>
<n:type-node code="CustomerVendorReview" id="customersupport_backoffice_explorerTree_vendorReviews" merge-mode="remove"/>
<n:type-node code="Customer" id="customersupport_backoffice_explorerTree_customers"/>
<n:type-node code="AuditReportData" id="customersupport_backoffice_explorerTree_personaldatareport" merge-mode="remove"/>
<n:type-node id="customersupportbackoffice.typenode.order.all" />
<n:type-node id="customersupportbackoffice.typenode.all.returns" merge-mode="remove" />
</n:explorer-tree>
</context>
2º
<context component="cs-explorer-tree" module="customersupportbackoffice" principal="customersupportadministratorrole,customersupportmanagerrole,customersupportagentrole" merge-by="principal" merge-mode="remove" >
<n:explorer-tree xmlns:n="http://www.hybris.com/cockpitng/config/explorertree">
<n:type-node code="Customer" id="customersupport_backoffice_explorerTree_customers" />
</n:explorer-tree>
</context>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi MarÃa Pilar Casas - in both forms, I can see n:navigation-node missing (please look for it in my answer). Please include it and try again.
Hi MarÃa Pilar Casas - you need to use merge-mode="remove" with the node that you want to hide e.g.
<context component="cs-explorer-tree" module="customersupportbackoffice" principal="customersupportagentrole" merge-by="principal">
<n:explorer-tree xmlns:n="http://www.hybris.com/cockpitng/config/explorertree">
<n:navigation-node id="xxxxxxxxxxxx">
<n:type-node code="Customer" id="customersupport_backoffice_explorerTree_customers" merge-mode="REMOVE"/>
</n:navigation-node>
</n:explorer-tree>
</context><br>Please check https://help.sap.com/viewer/5c9ea0c629214e42b727bf08800d8dfa/1905/en-US/8bd51bcd8669101486cec32d579b... for reference.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.