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.
Retrieving user's company name
I'm a complete newbie when it comes to NetSuite, but I've been working with JavaScript for over 10 years now, but NetSuite has me stumped.
I'm trying to place a button on an existing form that when pressed displays an alert window containing the name of the logged in user's company name. Kind of my version of a "hello world" script test. But I can't seem to find any combination of syntax to get me there.
I have the button in place and my function is correctly invoked when the button is pressed, all I'm missing is the right syntax to retrieve the user's company name.
0