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!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
'window' object defined in suitescript?
Has this been around long? I just noticed that a Suitelet has a global variable window defined that looks like:
{"weekstart":"1","dateformat":"MM/DD/YYYY","longdateformat":"Month DD, YYYY","timeformat":"fmHH:fmMI am","timeformatwithseconds":"fmHH:fmMI:SS am","decimalseparator":".","groupseparator":",","negativeprefix":"-","negativesuffix":"","datetime_am_string":"am","datetime_pm_string":"pm","datetime_short_months":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""]} That variable collides with libraries that expect the presence of a window global to mean they are running in browser.
It looks like "window" in this context is meant to represent window of time?
0