Hi All, Is there a way to remove the [Attach] butt...
# suitescript
m
Hi All, Is there a way to remove the [Attach] button that appears on the Communication Tab on various records? I've tried several options. The popular jQuery hack works for some record types but not others. Also, is there no standard functionality that regulates which users are allowed to attach a file to a record? Thanks!
b
the sad thing to know is that netsuite wasnt very unique about their button ids, multiple attach buttons can have the same id
so you may actually be hiding a button, just not the one you want
m
thanks @battk for the prompt answer! 🙂
b
use something like document.querySelectorAll to get lists of matching elements