Javascript API/Command to query OEM-Version?

Solved
PP
Peter Petry
Transgourmet Deutschland GmbH & Co. OHG

It’s just an informational Question, if there’s an javascript command, with which I could query the OEM-Version of a Zebra TC56/57 handheld for using in a self-created website? (for the Enterprise Browser that’s installed on the Zebra TC56-devices)
I recently found a command to query the OS-Version, the second step would be to query the OEM-Version.

The purpose is to create a full automated installation-process for the Zebra Handhelds with pre-detection of Android Version and OEM-Version.
Kind regards,

Peter Petry

3 years ago
Android Scripting
ANSWERS
TB
TJ Bukoski
3 years ago

At the moment, the ability for the SOTI MobiControl Javascript engine to pull the OEM Version is not available. But I do recall seeing it on the list of Javascript APIs to be added. I just don't know which version of the agent it will appear in as that has not been decided yet.

You can influence its appearance in the agent by submitting a Feature Request with the SOTI Support team. So please submit a Feature Request to have this Javascript API added.

When it does appear you should be able to return the value within a SOTI MobiControl script for a "device script action", "FileSync Script", "package script" or a "Scheduled Task Profile Payload" by invoking the mobicontrol.device.OEMVersion Javascript API string.

You mentioned that you wanted to invoke it in the Enterprise Browser. This should not be possible as third party applications would not have the ability to invoke the MobiControl javascript APIs. But it might be possible to pass values by using a Mobicontrol script to create a file with the values you want and then use the javascript in the website to pull the contents of the local file.

Here's a link to our documentation about manipulating files on a device with the MobiControl Javascript engine:

SOTI MobiControl Javascript Engine - Files

Solution
PP
Peter Petry
3 years ago

Thanks for your helpful information! I will submit a feature request. :-)

R
RVS17
3 years ago

Hi Peter,

Thank you for your post..

Has TJ's reply has solutioned your inquiry? If it's solutioned, please kindly mark solutioned. 

If not further, post your concerns regarding the inquiry.

Thanks