2. In your solution, open the customization.xml and add the following code inside <CustomActions>
Code: Select all
<HideCustomAction Location="Mscrm.SubGrid.myName.MainTab" HideActionId="Mscrm.SubGrid.myName.MainTab.HideAction" />
-Change the Location with the location of the Tab you want to hide
-Change the HideActionID with the ID of the Tab you want to hide.
-HideAction is the medthod we call to hide a specific tab, remember that this method will hide the tab constantly