Join Slack
Powered by
is it possible to add a button to a sublist to sho...
# suitescript
e
eliyahu moskowitz
12/30/2021, 11:41 PM
is it possible to add a button to a sublist to show up view mode as well?
b
battk
12/31/2021, 2:37 AM
not without dom manupulation
e
eliyahu moskowitz
12/31/2021, 2:31 PM
ok fine, so hows that?
b
battk
12/31/2021, 2:52 PM
its the thing that netsuite specifically says not to use to interact with netsuite's ui
battk
12/31/2021, 2:56 PM
in this case its the usage of things like
Document.createElement
to create your button,
Document.getElementById
to find where you want to insert your button, and
Element.append
to add it to your found element
battk
12/31/2021, 2:56 PM
its the kind of thing that can break whenever netsuite makes changes
Open in Slack
Previous
Next