on 2021 Oct 07 9:32 PM
Hi experts - I am looking for a way to hide specific subtypes on the collection browser tree view in Backoffice. I know that you can update the attribute descriptor to hide from the UI but want to avoid that. I need these fields/types to display in Backoffice, just not in my specific tree view. See example below for visual:

In the example above I would like to prevent All Subcategories and Subordinate Categories from displaying while in tree-view. Any input will be appreciated.
Request clarification before answering.
I was able to simplify the Category tree structure by adjusting the tree configuration for this type in our custom-backoffice-config.xml with the following:
<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="code" />
<tree:node attribute="allSubcategories" />
<tree:node attribute="products" />
</tree:tree-collection-nodes>
</context>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 2 | |
| 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.