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 🙂
Categories: CRM 2011, JScript
Tags: CRM 2011, Hide, JScript, Link, navigation, Navigation Item, Show, Tabs
Leave a Reply Cancel reply
Stats
- 1,466,712 hits
Translate
Categories
Top Posts
- Power Apps component framework (PCF) - Beginner guide
- Useful JScript syntax's – ADX/Dynamics 365 Portals
- [Step by Step] Dataverse | Connect Cloud flow with Service Principal (Application User)
- [Step by Step] Using TypeScript in Dynamics 365 9.x
- Associate/Disassociate plugin messages in CRM
- God Mode - Level Up - Dynamics 365 Chrome Extension
- Auto generate new GUID for ‘uniqueidentifier’ column in SQL Table
- SqlError: The backup set holds a backup of a database other than the existing database
- [Code Snippet] Custom Workflow Activity with Input and Output Params
- Dynamics Portals - Entity List - Integration using OData feed
How to collapse/expand navigation items in form? There is a function setDisplayState but that is for Tabs and not for navigation items.