cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable the system tab from hmc?

pankajjha
Explorer
0 Kudos

Hybris: 6.1.0.2

former_member620692
Active Contributor
0 Kudos

You mean 'System' node in the left panel - right? Do you want to hide it for a particular user/usergroup?

pankajjha
Explorer
0 Kudos

Hi Arvind,

Yes, for the fields highlighted below in the attached screenshot.

Accepted Solutions (0)

Answers (2)

Answers (2)

pankajjha
Explorer
0 Kudos

Hi Arvind, But , it's will be delete not disable?

former_member620692
Active Contributor
0 Kudos

I am not aware of any configuration that can disable it. Please check hmc.xsd if you can find something. I believe you will have to write code to achieve this; it can not be done by configuration.

I also suggest you check with your business users if they are fine with removing it instead of disabling it. In 2016, I was also in the same situation when I was able to convince the business users for this thing because the business did not want to spend time/money for coding/testing etc.

former_member620692
Active Contributor
0 Kudos

You can use the following code:

 INSERT_UPDATE UserGroup;UID[unique=true];hmcXML;locname[lang=en];description;
 ;groupid;"<?xml version=""1.0"" encoding=""ISO-8859-1""?>
 <configuration xmlns=""hybris.de/schemas/hmc/generic""
     xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance""
     xsi:schemaLocation=""hybris.de/schemas/hmc/generic hmc.xsd""> 
 <explorertree>
  <group name=""system"" mode=""delete""/>
 </explorertree>
 </configuration>";group name;group description;

Change the groupid with appropriate ID.