Hello, I am working on something that requires me to download a file, read the file contents (3 Lines of data) and report back to the Console as Custom Data. Currently I do not see a way within the Javascript documentation to do this without having to do a mixed script with Legacy (httpget) and Javascript. I did see a previous discussion post from two years ago but I figured I would ask again as some time has passed. I would prefer to find a way to get this in one script with JavaScript.
Currently we are on SOTI 2024.1 and use Zebra TC52/TC53E devices.
How I want the script to work
Pulls the file down -> Read the lines and extract a Store number -> Take that value and insert it into an XML file that lives on the device -> Custom Data reports that value on Check In/Sync
Thanks!