web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :

Hide Tab using JavaScript

Community Member Profile Picture Community Member

Introduction :

In this blog we will see how to hide tab using JavaScript.

Implementation :

Step 1 : Javascript for hiding tab :

var hideTab ={
hideTabs: function (executionContext) 
{
       
          var formContext = executionContext.getFormContext();
            formContext.ui.tabs.get("OpportunityLinesTab").setVisible(false);
    },
};

 Step 2 : Upload script on load of form -> ok -> Save and Publish .

Result :

Hope this helps

The post Hide Tab using JavaScript appeared first on .

Comments

*This post is locked for comments