Nice work!  And thanks for sharing the solution.

An idea to update $BROWSER$ has been submitted:
https://communities.bmc.com/ideas/3390

Jason


On Thu, Sep 26, 2013 at 8:23 AM, L G Robinson <[email protected]> wrote:

> **
> Hi Jason,
>
> Was able to figure this out myself (with the help of Google). I added a
> SetField action to an ActiveLink with a Value of:
>
>       $PROCESS$ JAVASCRIPT  window.navigator.userAgent;
>
> and I got:
>
>       Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36
> (KHTML, like Gecko) Chrome/29.0.1547.65 Safari/537.36
>
> returned into the field. So now, all I have to do is parse the result.  :-)
>
> Thanks for pointing me in the right direction.
> Larry
>
>
>
> On Wed, Sep 25, 2013 at 10:26 PM, L G Robinson <[email protected]> wrote:
>
>> Hi Jason,
>>
>> JavaScript was where I was heading with my first post. Can you help me
>> get started with that? Do you have any examples? Where does the JavaScript
>> go and how do you get the results back into workflow where you can do stuff
>> with it?
>>
>> Thanks.
>> Larry
>>
>>
>> On Wed, Sep 25, 2013 at 5:03 PM, Jason Miller <[email protected]>wrote:
>>
>>> **
>>> That seems to match what I am seeing.  You might be better off running
>>> some JavaScript to capture the browser.
>>>
>>> The top three entries are non-IE
>>> 1:52:58 - Android / Chrome
>>> 1:53:29 - Win 7 / Chrome
>>> 1:57:16 - iOS 6 / Safari
>>>
>>> Firefox shows as Netscape7 but it is not (knowing) pictured below.
>>>
>>> [image: Inline image 2]
>>>
>>>
>>> On Wed, Sep 25, 2013 at 1:31 PM, L G Robinson <[email protected]> wrote:
>>>
>>>> **
>>>> Hi Doug,
>>>>
>>>>  Thanks for the reply. That certainly sounds like exactly what I was
>>>> looking for. I had forgotten about that keyword.
>>>>
>>>> I tried to view the article that you referenced but I got "Article Not
>>>> Found". Must be REEEALY old.  ;-)
>>>>
>>>> The documentation for $BROWSER$ says this:
>>>>
>>>> The browser (Internet Explorer or other) being used in the current
>>>> session. If the browser is anything other than Internet Explorer, Netscape
>>>> is returned.
>>>> For BMC Remedy User, an empty string ("") is returned. This keyword is
>>>> NULL on the server.
>>>>
>>>>
>>>> Is that accurate? I'll give it a try and see what is reported.
>>>>
>>>> Thanks.
>>>> Larry
>>>>
>>>>
>>>> On Wed, Sep 25, 2013 at 3:59 PM, Mueller, Doug <[email protected]>wrote:
>>>>
>>>>> **
>>>>>
>>>>> LG,****
>>>>>
>>>>> ** **
>>>>>
>>>>> Have you tried $BROWSER$.****
>>>>>
>>>>> ** **
>>>>>
>>>>> This keyword has existed for a while.****
>>>>>
>>>>> ** **
>>>>>
>>>>> Here is an OLD KB article****
>>>>>
>>>>> ** **
>>>>>
>>>>>
>>>>> https://kb.bmc.com/infocenter/index?page=content&id=KA335773&actp=search&viewlocale=en_US&searchid=1380139054044
>>>>> ****
>>>>>
>>>>> ** **
>>>>>
>>>>> that gives examples of the return from this for ARS 5.0 through 6.0
>>>>> I TOLD YOU IT WAS OLD.  but it gives****
>>>>>
>>>>> you an example of what to expect as a return.  The browser name and a
>>>>> version.****
>>>>>
>>>>> ** **
>>>>>
>>>>> Does this give you what you need?****
>>>>>
>>>>> ** **
>>>>>
>>>>> Doug Mueller****
>>>>>
>>>>> ** **
>>>>>
>>>>> *From:* Action Request System discussion list(ARSList) [mailto:
>>>>> [email protected]] *On Behalf Of *L G Robinson
>>>>> *Sent:* Wednesday, September 25, 2013 12:53 PM
>>>>> *To:* [email protected]
>>>>> *Subject:* Detecting browser type in workflow****
>>>>>
>>>>> ** **
>>>>>
>>>>> ** ****
>>>>>
>>>>> H****
>>>>>
>>>>> i Folks,****
>>>>>
>>>>> ** **
>>>>>
>>>>> Does anyone have a workflow technique for detecting the type of
>>>>> browser that the Mid-tier user is using? I want to try to adjust the view
>>>>> based on the browser type.****
>>>>>
>>>>> ** **
>>>>>
>>>>> Thanks.****
>>>>>
>>>>> Larry****
>>>>>
>>>>> ** **
>>>>>
>>>>> ARS: 7.6.04 SP3 201201302357 on Solaris 10****
>>>>>
>>>>> Midtier: ****
>>>>>
>>>>> 7.6.04 SP3 201208101612 Hotfix****
>>>>>
>>>>> on Tomcat****
>>>>>
>>>>> Tomcat: ****
>>>>>
>>>>> 6.0.35****
>>>>>
>>>>> on RH Linux****
>>>>>
>>>>> Oracle: 11.2.0.3.0 on Solaris 10****
>>>>>
>>>>> Larry Robinson****
>>>>>
>>>>> Remedy Developer / Administrator****
>>>>>
>>>>> NC State University****
>>>>>
>>>>> Raleigh, NC****
>>>>>
>>>>>
>>>>>  _ARSlist: "Where the Answers Are" and have been for 20 years_
>>>>
>>>
>>> _ARSlist: "Where the Answers Are" and have been for 20 years_
>>>
>>
>>
> _ARSlist: "Where the Answers Are" and have been for 20 years_
>

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

<<Capture.PNG>>

Reply via email to