Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
addButton problem
I am trying to add a custom user event script to suitelet button, however, nothing I have tried works. I have saved the user event script as customscript_get_items
code snippet is
// Add buttons
form.addSubmitButton('Submit');
form.addButton('retrieveItem','Retreive Items','customscript_get_items')
form.addResetButton();
problem is , in the setup, I cannot find anything regarding the click event type. all othere scripts loaded on the form are working correctly.
Any help greatly appreciated.
Thanks
0