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!
Mixing WS with online case forms
I'm trying to build a custom web site using web services, and a 'New Case' form in this web site.
I've built an online case form with ClientScript code attached to it. Here are the steps user follows to get to the 'New Case' form:
[LIST=1]
[*]Log in the custom web site using NetSuite credentials - log in is successful, default role is correctly returned
[*]Click on a link in a menu bar. User is then redirected to the URL exposed in NetSuite UI for the online case form
[/LIST]
The ClientScript attached to the online case form is set to alert the logged user name throught the call to nlapiGetUser() as:
0