Discussions

Check out Oracle NetSuite upcoming events and conferences here
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!
Update your Profile with your Support type to get your Support Type badge.
Don't miss out on our Pop Quiz # 1, You only have until April 23, 2024, 4:30 PM ET to comment your answers and earn rewards! Click here for more details.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Community Poll: What sort of content would you like to see more of?

Programmatically call/execute "submit" button on Suitelet

edited Dec 9, 2020 11:33PM in SuiteCloud / Customization 3 comments

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 2 (Apr-Jun 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders