There's a new home for Articles. Find Articles on Our Product Support Page.
Hey Guys, we're using a lot of legacy Scripts in our Packages without any issue. Now we have a Demand to execute a JavaScript-Script inside a Package but I won't get this thing running.The Script works fine when I use "Send Script" but we want to deploy it as a Package (so also Filesync and / or Task Scheduler is actually not an option for us). Is there any chance to get this running? Or it is actually not supported to use JS with MC-Studio? Kind regards
Hello there, I'm trying to set the system language of a device with javascript. As you can see in the js documentation, there is already an example script for it. I tried the example but I'm getting following error message: Custom log (Set locale failed with status code NOT_SUPPORTED) I used following example script in the js documentation: https://www.soti.net/mc/help/javascriptapi/en/mobicontrol.intl.Locale.html var locale = new mobicontrol.intl.Locale("en", "CA"); try { mobicontrol.intl.setLocale(locale); mobicontrol.log.info('Locale set.'); } catch (err) { mobicontrol.log.error('Set locale failed with status code ' + err.statusCode); } MobiControl version: 15.5.1.1010 Agent Version: 15.4.2.1025
Top-tier experts who are delivering outstanding content. Should have more than 7000 points.
Experts who are consistent with great content. Should have more than 1000 points
Highly experienced members with valuable inputs. Should have more than 700 points
Beginners taking the initiative. Should have more than 500 points