cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Get UserAgent on Login in Thingworx from Vuforia View

SS_11298241
7-Bedrock

Get UserAgent on Login in Thingworx from Vuforia View

Can I retrieve User Agent on Login from Vuforia View which Device logged in something like this in Thingworx or is there some other way to get device information on Login and other cookies too?

 

// Get device info (User-Agent)
var userAgent = me.GetIncomingRequestHeader({name: "User-Agent"});

2 REPLIES 2

Hi @SS_11298241

 

Not sure if this is what you want but check out this article and community post - Define functions to check the different mobile platforms

navigator.userAgent and navigator.userAgentData seem to contain the device information you want.

You can capture the data through script in Studio project and send it to ThingWorx if needed.

 

Best,

Tony

Hello @SS_11298241 ,

The community Post How to transfer Vuforia View User login detail into thingworx, looks to be an answer to your questions can you please review.

 

Regards

Pehowe

Announcements

Top Tags