Skip to main content
7-Bedrock
Nov 3, 2024 7:28 AM UTC
Question

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"});

4 replies

Support
Dec 18, 2024 9:36 AM UTC

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,

Translate
17-Peridot
Dec 23, 2024 5:24 PM UTC

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

Translate
17-Peridot
Dec 31, 2024 3:19 PM UTC

Hello @SS_11298241 


It appears that your question has received a possible solution.  For the benefit of other Community Members who may have the same question, it would be great if you could designate it as the Accepted Solution.

In the event that this response did not answer your question, please post your current status so that we can continue to support.

Thanks for using the PTC Community!

Regards,

pehowe

Translate
17-Peridot
Feb 10, 2025 8:01 PM UTC

Hello @SS_11298241 


It appears that an  answers your question.  For the benefit of other Community Members who may have the same question, it would be great if you could designate it as the Accepted Solution.

In the event that this response did not answer your question, please post your current status so that we can continue to support.

Thanks for using the PTC Community!

Regards,

Pehowe

Translate