CRM 2011: Hide / Show a Tab using Javascript

To show a CRM tab on the form:
Xrm.Page.ui.tabs.get(“tabnameto hide”).setVisible(true);

To hide a CRM tab on the form:
Xrm.Page.ui.tabs.get(“tabnametohide”).setVisible(false);

Advertisements