Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
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!
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.
0