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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Calling 2.0 Client function from 2.0 User Event, using functionName
Hi there,
I'm very new to Netsuite, so coming at this very green. I've been building some test scripts in 1.0 using the form.setScript function to trigger a Client script from a User Event script successfully. I notice, though, that setScript is no longer included in 2.0, and doesn't seem to be needed. Using the functionName parameter of form.addButton, I can trigger a function on a Client script attached to the form... as long as that Client script is 1.0.
So in essence, I have a 2.0 User Event script that calls a 1.0 Client script function using the functionName and that works great.
0