How to get user's browser and operating system from record producer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2017 05:48 PM
Hi: In a record producer for incident, I need to record the user's browser and operating system. Can I look that up in the business rule? Any idea how? Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2017 11:02 PM
HI Harsh: That worked for me too just using it in a business rule. Is there a property for operating system? Thank you!!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2017 11:06 PM
have you checked the thread that i have mentioned above?
as TrevorK has mentioned about "navigator.platform" property. you need to use that to get the OS information.
Thanks,
Harshvardhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2017 11:16 PM
Yes, thank you both, but I can't use navigator.platform in business rule. What would I need to put in the property below if I want to look it up from the business rule:
gs.getSession().getProperty('xxxxx');

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2017 12:18 AM
I am not sure if it's possible through that way or not.
but may i know why do you want to write business rule for getting browser and os version details.
If we can achieve it through catalog client script .
i tried with script below.
function onLoad() {
//Type appropriate comment here, and begin script below
alert(navigator.userAgent);
}
User agent strings are presented in different formats by the various browsers. To understand the user agent strings for each browser, view the browser documentation.
- Internet Explorer: https://msdn.microsoft.com/en-us/library/ms537503(v=vs.85).aspx
- Firefox: https://developer.mozilla.org/en-US/docs/Web/HTTP/Gecko_user_agent_string_reference
- Chrome: https://developer.chrome.com/multidevice/user-agent
- Additionally, try http://useragentstring.com/. Add a user agent string, and the browser version and analysis is presented.
Hope it will help you.
Thanks,
Harshvardhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2017 04:48 AM
Hi: Basically I have no need to display this info on the client side. I just need to save it on the incident custom fields I created. I went ahead and used the client script for the os. Thank you very much for your help!