I have been looking through NetSuite’s help, and I am coming up empty. Is it possible to use SuiteScript to hide a tab on a form? I see you can pull back a form and grab that tab from that (form.getTab(‘info’);) but unlike with fields there is no option for form.getTab(‘info’).setDisplayType(‘hidden’); or anything along those lines. Does anyone have any suggestions on this? We have multiple organizations using this form and some fields are not relevant to some of the organizations.
Thanks
We (the TNO team) looked into this for you. Confirmed with NetSuite, there is no direct API that could hide a customb tab. What could be done though, is to hide all the fields that are present to the tab you would like to hide. Through it, the tab will not be displayed.
Under nlobjfield, you can use the setDisplayType() and set the type to hidden.
For reference, you may check the following link in SuiteAnswers:
Hope this helps! Let us know if you need any other help. As said before, we are The New Office (TNO), a NetSuite consultancy and reseller that helps companies adopt NS and other cloud applications. We are working on our new site ([thenewoffice.com), but our former site is here [http://vconstruct.com/]. We also have a product site for data migration tools, http://www.muvdata.com/
Good luck!