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
Related posts:
How an Australian Commercial Laundry Provider Automated Customer Emails and Contract Change Notifica...
How a U.S.-Based Consumer Appliance Manufacturer Automated FedEx Shipment Creation, Cancellation, an...

Engineer-to-Order with Dynamics 365: How Project Operations Handles Planning and Business Central Ma...

