Discussions
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.