might require browserify or at least minor source modification to work in NetSuite since the browser version of the library uses a browser global
m
mg2017
09/24/2019, 2:06 PM
thanks, i'll see what this gives me: context.request (in context.request.parameters['User-Agent']
mg2017
09/25/2019, 11:01 AM
btw - i was able to get the device from the login audit trail record by doing a saved search. the user-agent was the field. i get Cannot read property "User-Agent" from undefined from your code snippet