To read the Dynamics 365 CRM Tab section name used the ui.tabs.get("TabName").sections.get("TabsSectionName") method.
Now perform the operation to hide this Tab Section.
// To hide tabs Sections: true=Hide
formContext.ui.tabs.get("TabName").sections.get("TabsSectionName").setVisible(true);
// To hide tabs Sections: false=show
formContext.ui.tabs.get("TabName").sections.get("TabsSectionName").setVisible(false);
No comments:
Post a Comment