We searched to get platform or other information of connected device.
I created a service that runs navigator.request.
[context: com.thingworx.webservices.context.HttpExecutionContext@420f70fc] [message: Execution error in service script [Thing1 test]: ReferenceError: "navigator" is not defined.]
The above error occurs
What is the solution?
Please help me
If you are searching for an entity, there are a few ways to go about.
1. if this is in the UI there are a lot of things you can do from Entity Picker to first presenting a list of the potential entities using something like ThingTemplates["Name Of Template"].QueryImplementingThings
2. In a service you can use the SearchFunctions or similarly QueryImplementingThings
You should try to avoid using 'composer specific' functions to search.
Thanks for the reply
I would like to create a service that checks the information (OS, browser, etc.) of the connected device (tablet, PC, smart phone)
it is not retrieving ThingWorx information.
However, you can not use navigator in ThingWorx local (jacascript).
I am looking for a solution to this.