Here is a simple example to hide a tab in CRM form
function ToggleTab(tabName , HideStatustrueOrfalse )
{
Xrm.Page.ui.tabs.get(tabName).setVisible(HideStatustrueOrfalse);
}
Add webresource into your form and form onload event mention function name and pass parameters like 'YourTabName', 'false' to hide the desired tab. On similar note you can hide the sections, fields on the CRM form.
-Guru
No comments:
Post a Comment