Hi,

Below is the JScript to Show or Hide Tabs and Navigation Items on CRM form

//Set “true” to Hide and “false” to show the Tab/Navigation item

Xrm.Page.ui.tabs.get(“tab_name”).setVisible(true/false);

Xrm.Page.ui.navigation.items.get(“navigationlink_name”).setVisible(true/false);

Note :-

  • We can get the ‘Tab’ name, from the Form customization
  • We can get the “Navigation link” name using the IE developer tool (i.e., On the browser Press F12)

Hope it helps 🙂

Advertisements
Advertisements

2 responses to “Hide or Show Tabs & Navigation Items of CRM form in CRM 2011”

  1. … [Trackback]…

    […] There you will find more Infos: rajeevpentyala.wordpress.com/2011/10/27/hide-or-show-tabs-navigation-items-of-crm-form-in-crm-2011/ […]…

  2. Omer Avatar
    Omer

    How to collapse/expand navigation items in form? There is a function setDisplayState but that is for Tabs and not for navigation items.

Leave a comment