Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to 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.