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 🙂
Advertisement
Categories: CRM 2011, JScript
Tags: CRM 2011, Hide, JScript, Link, navigation, Navigation Item, Show, Tabs
Leave a Reply Cancel reply
Stats
- 1,608,376 hits
Join 408 other subscribers
Top Posts
- Power Apps component framework (PCF) - Beginner guide
- [Step by Step] Power Apps | Show pop ups in Canvas App
- Power Automate Cloud Flow | 'Correct to include a valid reference' error
- [Step by Step] Canvas App | Dataverse | Filter, Patch, For All, Lookup
- [Step by Step] Embed "Azure Blob" connector Canvas App in Model Driven App
- [Step by Step] Power Apps Portal - Configure Global Search
- Power Platform CLI | Pack and Unpack solution using map xml
- Wait Condition with 'Parallel Wait Branch'
- Power Apps - Component library
- C# - SQL - Bulk Insert records from Data Table and CSV
How to collapse/expand navigation items in form? There is a function setDisplayState but that is for Tabs and not for navigation items.