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,262,997 hits
Translate
Categories
Top Posts
- [Step by Step] Postman tool to test Dynamics 365 online Web API
- Useful JScript syntax's – ADX/Dynamics 365 Portals
- Power Apps component framework (PCF) - Beginner guide
- [Step by Step] Using TypeScript in Dynamics 365 9.x
- Auto generate new GUID for ‘uniqueidentifier’ column in SQL Table
- Associate/Disassociate plugin messages in CRM
- [Code Snippet] Custom Workflow Activity with Input and Output Params
- [MS Word] The Linked file isn't available
- PowerApps - Step By Step - Build a simple Calculator App
- Power Apps - Understanding 'Variables'
Recent Posts
- Canvas App Import Failure | CanvasAppEnvironmentMismatch error
- ‘Callback Registration Expander’ System Jobs stuck at ‘Waiting For Resources’
- [Step by Step] Debug Model Driven and Canvas Apps using ‘Monitor’ tool
- Canvas App | Dataverse | Distribute columns to multiple forms and Patch
- [Step by Step] Canvas App | Dataverse | Filter, Patch, For All, Lookup
How to collapse/expand navigation items in form? There is a function setDisplayState but that is for Tabs and not for navigation items.