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!
ServerSide Script with online case form
I have a client who is using an online case form in their center. Strangely, NetSuite does not pass contact information for the current logged in user, only their user id (nluser).
Client wants to default the first name, last name to the logged in user and can not. I tried Client-side script but that gives me empty values (of course). I tried Server-side script for beforeLoad to see what might be available and at a minimum grab the nluser id and do a search for the contact information of that user to pre-populate the fields.
Seems that beforeLoad does not run when an online form loads. However it does run when you open an already submitted case from the view list of cases.