<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: How to hide explorer tree nodes in backoffice based on role? in CRM and CX Q&amp;A</title>
    <link>https://community.sap.com/t5/crm-and-cx-q-a/how-to-hide-explorer-tree-nodes-in-backoffice-based-on-role/qaa-p/12061011#M405802</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;      &amp;lt;context component="explorer-tree" merge-by="principal" principal="supportrole"&amp;gt;
          &amp;lt;explorer-tree:explorer-tree  xmlns:explorer-tree="http://www.hybris.com/cockpitng/config/explorertree" &amp;gt;
              &amp;lt;explorer-tree:navigation-node id="hmc_treenode_system" merge-mode ="REMOVE"/&amp;gt;
              &amp;lt;explorer-tree:navigation-node id="hmc_treenode_catalog"&amp;gt;
                  &amp;lt;explorer-tree:type-node code="VariantType" id="hmc_typenode_varianttype" merge-mode="REMOVE"/&amp;gt;
                  &amp;lt;explorer-tree:type-node code="Unit" id="hmc_typenode_unit" merge-mode= "REMOVE"/&amp;gt;
              &amp;lt;/explorer-tree:navigation-node&amp;gt;
              &amp;lt;explorer-tree:navigation-node id="hmc_treenode_order" merge-mode="REMOVE"/&amp;gt;
              &amp;lt;explorer-tree:navigation-node id="hmc_treenode_pricesettings" merge-mode= "REMOVE"/&amp;gt;
              &amp;lt;explorer-tree:navigation-node id="hmc_treenode_c2l" merge-mode="REMOVE"/&amp;gt;
              &amp;lt;explorer-tree:navigation-node id="hmc_treenode_marketing"  merge-mode= "REMOVE"/&amp;gt;                
              &amp;lt;explorer-tree:navigation-node id="hmc.cms2" merge-mode="REMOVE"/&amp;gt;
              &amp;lt;explorer-tree:navigation-node id="hmc.cockpit" merge-mode="REMOVE"/&amp;gt;
              &amp;lt;explorer-tree:navigation-node id="hmc.group.basecommerce" merge-mode ="REMOVE"/&amp;gt;
              &amp;lt;explorer-tree:navigation-node id="hmc.group.basecommerce.deeplink" merge-mode ="REMOVE"/&amp;gt;              
          &amp;lt;/explorer-tree:explorer-tree&amp;gt;
      &amp;lt;/context&amp;gt;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This is the configuration I've used in my custombackoffice-backoffice-config.xml file. But when I try to log in with the user assigned to this role, I could see all the nodes.&lt;/P&gt;</description>
    <pubDate>Sat, 18 May 2019 09:21:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2019-05-18T09:21:55Z</dc:date>
    <item>
      <title>How to hide explorer tree nodes in backoffice based on role?</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/how-to-hide-explorer-tree-nodes-in-backoffice-based-on-role/qaq-p/12061008</link>
      <description>&lt;P&gt;I've tried to hide explorer tree nodes using merge-mode="remove" in custom backoffice extension but it is not working. I'm able to see all nodes when logged in with the respective user.
&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2019 09:49:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/how-to-hide-explorer-tree-nodes-in-backoffice-based-on-role/qaq-p/12061008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-05-17T09:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide explorer tree nodes in backoffice based on role?</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/how-to-hide-explorer-tree-nodes-in-backoffice-based-on-role/qaa-p/12061009#M405800</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;     &amp;lt;n:explorer-tree xmlns:n="http://www.hybris.com/cockpitng/config/explorertree" title="explorer"&amp;gt;
         &amp;lt;n:navigation-node id="cat"&amp;gt;
          &amp;lt;n:type-node code="CsTicket" id="customersupport_backoffice_explorerTree_tickets"/&amp;gt;
         &amp;lt;n:type-node code="Customer" id="customersupport_backoffice_explorerTree_customers"/&amp;gt;
         &amp;lt;n:type-node code="CronJob" id="hmc_typenode_cronjob"/&amp;gt;
         &amp;lt;n:type-node code="Product" id="hmc_typenode_product"/&amp;gt;
          &amp;lt;/n:navigation-node&amp;gt;
     &amp;lt;/n:explorer-tree&amp;gt;
 &amp;lt;/context&amp;gt;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;where merchandiser is a user . 
but not sure if you want to have to dispaly treenodes based on userRole or UserGroup.&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2019 14:56:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/how-to-hide-explorer-tree-nodes-in-backoffice-based-on-role/qaa-p/12061009#M405800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-05-17T14:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide explorer tree nodes in backoffice based on role?</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/how-to-hide-explorer-tree-nodes-in-backoffice-based-on-role/qaa-p/12061010#M405801</link>
      <description>&lt;P&gt;Hi  ,&lt;/P&gt;
&lt;P&gt;Approach you took is the right one. Please take a closer look at your configuration (especially in context of whole configuration) and find a reason there. You could also try to paste here at least a part of configuration you are referring to and maybe some obvious problem may be find this way by some Expert.&lt;/P&gt;
&lt;P&gt;Cheers,
Jacek
&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2019 15:53:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/how-to-hide-explorer-tree-nodes-in-backoffice-based-on-role/qaa-p/12061010#M405801</guid>
      <dc:creator>former_member625836</dc:creator>
      <dc:date>2019-05-17T15:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide explorer tree nodes in backoffice based on role?</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/how-to-hide-explorer-tree-nodes-in-backoffice-based-on-role/qaa-p/12061011#M405802</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;      &amp;lt;context component="explorer-tree" merge-by="principal" principal="supportrole"&amp;gt;
          &amp;lt;explorer-tree:explorer-tree  xmlns:explorer-tree="http://www.hybris.com/cockpitng/config/explorertree" &amp;gt;
              &amp;lt;explorer-tree:navigation-node id="hmc_treenode_system" merge-mode ="REMOVE"/&amp;gt;
              &amp;lt;explorer-tree:navigation-node id="hmc_treenode_catalog"&amp;gt;
                  &amp;lt;explorer-tree:type-node code="VariantType" id="hmc_typenode_varianttype" merge-mode="REMOVE"/&amp;gt;
                  &amp;lt;explorer-tree:type-node code="Unit" id="hmc_typenode_unit" merge-mode= "REMOVE"/&amp;gt;
              &amp;lt;/explorer-tree:navigation-node&amp;gt;
              &amp;lt;explorer-tree:navigation-node id="hmc_treenode_order" merge-mode="REMOVE"/&amp;gt;
              &amp;lt;explorer-tree:navigation-node id="hmc_treenode_pricesettings" merge-mode= "REMOVE"/&amp;gt;
              &amp;lt;explorer-tree:navigation-node id="hmc_treenode_c2l" merge-mode="REMOVE"/&amp;gt;
              &amp;lt;explorer-tree:navigation-node id="hmc_treenode_marketing"  merge-mode= "REMOVE"/&amp;gt;                
              &amp;lt;explorer-tree:navigation-node id="hmc.cms2" merge-mode="REMOVE"/&amp;gt;
              &amp;lt;explorer-tree:navigation-node id="hmc.cockpit" merge-mode="REMOVE"/&amp;gt;
              &amp;lt;explorer-tree:navigation-node id="hmc.group.basecommerce" merge-mode ="REMOVE"/&amp;gt;
              &amp;lt;explorer-tree:navigation-node id="hmc.group.basecommerce.deeplink" merge-mode ="REMOVE"/&amp;gt;              
          &amp;lt;/explorer-tree:explorer-tree&amp;gt;
      &amp;lt;/context&amp;gt;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This is the configuration I've used in my custombackoffice-backoffice-config.xml file. But when I try to log in with the user assigned to this role, I could see all the nodes.&lt;/P&gt;</description>
      <pubDate>Sat, 18 May 2019 09:21:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/how-to-hide-explorer-tree-nodes-in-backoffice-based-on-role/qaa-p/12061011#M405802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-05-18T09:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide explorer tree nodes in backoffice based on role?</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/how-to-hide-explorer-tree-nodes-in-backoffice-based-on-role/qaa-p/12061012#M405803</link>
      <description>&lt;P&gt;HI Mukesh,
In backoffice we have perspectives for each perspective we may have an explorer tree so explorer tree common for all user who have the access of particular perspective ,so i think you can better to manage with separate perspective and explorer tree
thanks,
prabhakar
&lt;/P&gt;</description>
      <pubDate>Sun, 19 May 2019 17:37:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/how-to-hide-explorer-tree-nodes-in-backoffice-based-on-role/qaa-p/12061012#M405803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-05-19T17:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide explorer tree nodes in backoffice based on role?</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/how-to-hide-explorer-tree-nodes-in-backoffice-based-on-role/qaa-p/12061013#M405804</link>
      <description>&lt;P&gt;Hi  ,&lt;/P&gt;
&lt;P&gt;Still looks good &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can to do following:&lt;/P&gt;
 &lt;OL&gt;
  &lt;LI&gt;&lt;P&gt; make sure that your user is in fact assigned to exactly &lt;CODE&gt;supportrole&lt;/CODE&gt; (`UID` of &lt;CODE&gt;BackofficeRole&lt;/CODE&gt;)
&lt;/P&gt;

  &lt;/LI&gt;
  &lt;LI&gt;&lt;P&gt; make sure that this particular role is chosen in &lt;CODE&gt;RoleChooser&lt;/CODE&gt;
&lt;/P&gt;

  &lt;/LI&gt;
  &lt;LI&gt;&lt;P&gt; add some dummy node to this configuration and find out, if it appears (if yes - your configuration is loaded correctly and you may have some problem with i.e. different extension that loads those nodes once again, if not - there is either problem in context definition or roles assignments)
&lt;/P&gt;

  &lt;/LI&gt;
  &lt;LI&gt;&lt;P&gt; try using Orchestrator to find all configurations for &lt;CODE&gt;explorer-tree&lt;/CODE&gt; and/or &lt;CODE&gt;Simulate configuration resolution&lt;/CODE&gt; to exactly find out what, how and why is loaded.&lt;/P&gt;

  &lt;/LI&gt;

 &lt;/OL&gt;
&lt;P&gt;Cheers,
Jacek&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 10:11:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/how-to-hide-explorer-tree-nodes-in-backoffice-based-on-role/qaa-p/12061013#M405804</guid>
      <dc:creator>former_member625836</dc:creator>
      <dc:date>2019-05-20T10:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide explorer tree nodes in backoffice based on role?</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/how-to-hide-explorer-tree-nodes-in-backoffice-based-on-role/qaa-p/12061014#M405805</link>
      <description>&lt;PRE&gt;&lt;CODE&gt; INSERT_UPDATE BackofficeRole;UID[unique=true];locname[lang=en];backOfficeLoginDisabled;authorities
  ;supportrole;Backoffice Operate User role;FALSE;supportrole
 
 INSERT_UPDATE PrincipalGroupRelation;source(uid)[unique=true];target(uid)[unique=true]
  ;operatemodelgroup;supportrole
 
 INSERT_UPDATE Usergroup;uid[unique=true];groups(uid)[mode=append];name 
 ;operatemodelgroup;supportrole;Operate Model Group


&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This is the impex used. Changes are present in cock[pit-config.xml file in orchaestrator mode too. Still merge-mode="remove" is not working. I could see all the nodes. I'm using hybris 1808. Can this be related to version somehow?&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 16:10:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/how-to-hide-explorer-tree-nodes-in-backoffice-based-on-role/qaa-p/12061014#M405805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-05-20T16:10:33Z</dc:date>
    </item>
  </channel>
</rss>

