Saving macro output to file on device

Solved
7
74HCT04
Jersey Post

Hi,

I am looking for a way of sending the output of %OEM_VERSION% to an ini file on a Honeywell CT60 (Android Enterprise) device. I would then like to use this as Custom Data to trigger a device relocation rule.

Is it possible to use such a macro in either a legacy script or Javascript? If so, I would really appreciate a code example.

Thank you.

3 years ago
Android Scripting
ANSWERS
MD
Matt Dermody Diamond Contributor
3 years ago

Seems like a lot of work considering that SOTI can already detect the OEM Version? If you are running into a limitation of the criteria options within the Relocation Rules then use Virtual Groups instead. Filter the Virtual Group by OEM Version and then target your Relocation Rule at the Virtual Group. 

Solution
7
74HCT04
3 years ago

Thanks Matt. I think this will help to get me where I want to be!