Hide Tab using JavaScript
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
No comments:
Post a Comment