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,555,595 hits
Tweets
- RT @TaikiYoshidaEN: Awesome to see we have a shiny new public facing website for Power CAT! 😻😻😻 microsoft.github.io/powercat/ #PowerApps #PowerA… 2 hours ago
- RT @ravichada: 🎥 The demo video is ready now. Do check out the Dataverse Security Roles risk assessment tool in action. Leave a comment or… 2 hours ago
- RT @ManuelaPichler_: CoE kit but make it more fluent-y #comingsoon https://t.co/kcSzPqwZhM 2 hours ago
- New Blog Post: C# Basics | Why Interfaces rajeevpentyala.com/2023/01/07/c-b… 2 weeks ago
- New blog post : Dataverse solution import error | Environment variable value cannot be an empty string rajeevpentyala.com/2023/01/05/dat… 3 weeks ago
Join 400 other subscribers
Top Posts
- [Step by Step] Postman tool with Microsoft Dataverse Web API
- [Code Snippet] Custom Workflow Activity with Input and Output Params
- Azure DevOps (ADO) | Pipeline failure | You need the Git 'GenericContribute' permission
- Auto generate new GUID for ‘uniqueidentifier’ column in SQL Table
- Power Apps component framework (PCF) - Beginner guide
- Power Platform - Pass json collection from Canvas App to Power Automate
- Power Automate Flows | 'Callback Registration Expander' System Jobs stuck at 'Waiting For Resources'
- Power Apps - 'Environment Variables' and their usage in Canvas Apps
- Power Apps | Canvas App | StartScreen property
- Get and Set ‘Partylist’ fields using Jscript
How to collapse/expand navigation items in form? There is a function setDisplayState but that is for Tabs and not for navigation items.