Is using javascript's window.navigator methods permitted

Posted by tcallen@dmsi.com on 14-Mar-2017 15:52

I am trying to capture the user's browser information when they create a record in Rollbase (so I don't have to keep asking "which browser are you using?"), but it doesn't appear that Rollbase permits the use of window.navigator.appName.

Is this confirmed or am I missing something? I've tried window.navigator.appName and navigator.appName but the trigger formula editor doesn't like the syntax.

Any ideas?

Posted by Ricardo Rafols on 15-Mar-2017 06:09

Hi Tom,

The window object represents the browser's window.

When using server-side trigger, window object is not available.

For your reference:

www.w3schools.com/.../js_window.asp

All Replies

Posted by Ricardo Rafols on 15-Mar-2017 06:09

Hi Tom,

The window object represents the browser's window.

When using server-side trigger, window object is not available.

For your reference:

www.w3schools.com/.../js_window.asp

Posted by tcallen@dmsi.com on 15-Mar-2017 16:04

Thanks Ricardo. It just dawned on my I was trying to use a client-side method in a server-side trigger. Ugh. Never try to code late in the day! Ha!

This thread is closed