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:
Use Database Access Intent List to Boost Performance in Business Central
Enabling Physical Negative Inventory in Dynamics 365 Finance and Operations
Advance warehouse management – Warehouses and Locations in Microsoft D365 F&O - Part 2
Advance warehouse management – Item Creation process in Microsoft D365 F&O - Part 1