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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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