Advertisements
Home > CRM 2011, JScript > Hide or Show Tabs & Navigation Items of CRM form in CRM 2011

Hide or Show Tabs & Navigation Items of CRM form in CRM 2011

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
  1. Omer
    January 2, 2012 at 4:34 PM

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

  1. November 25, 2011 at 9:14 AM

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: