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!
Programmatically call/execute "submit" button on Suitelet
I'm needing to be able to generate GUID's in NetSuite programmatically. It seems like the only ways to generate a GUID is with either the addCredentialField() form field or the addSecretKeyField() form field from the N/ui/serverWidget module. Since I need to have a GUID created everytime a custom record is created, I'm trying to figure out how to call a Suitelet from server script (say a user event script or map/reduce script), pass a parameter to it, set the addSecretKey field on the form to be defaulted as the parameter value, and then submit the form programmatically to generate