Community - SOTI MobiControl

Community - SOTI MobiControl

There's a new home for Articles. Find Articles on Our Product Support Page.

SOTI MobiControl Discussions


  • 0 votes 11 answers

    Can Built javascript file as pcg package and add to profile for execute after installed profile

    HI SOTI Community I have use case that   i want to send script (javascript) to all device as profile for end user input text to file. so, i do this 1. built pcg file with javascript file (file.js)  2. add pcg file to profile 3. assign to clients but script not working how to do or have another solution. this script #!/usr/bin/env js     inputStore(); function inputStore() {     mobicontrol.message.createTextPromptDialog('รหัสร้าน 5 หลักของคุณคือ?')         .withCallback(onConfirm).show(); } function onConfirm(result) {     var storeId = result.inputText;     if (isValidStoreId(storeId)) {         var stl = storeId.length;         var mcsetupFile = new mobicontrol.io.File('/sdcard/Documents/mcsetup.ini');         if (mcsetupFile.exists) {             var data = mcsetupFile.readText();             var keyText = "StoreID=";             var ktl = keyText.length;             var idx = data.indexOf(keyText);             var oldStoreId = data.substring((idx + ktl), idx + ktl + stl);             var offset = stl;             if (!isValidStoreId(oldStoreId)) {                 offset = 0;             }             var result = data.substring(0, idx + ktl) + storeId + data.substring(idx + ktl + offset);             mcsetupFile.writeText(result);         }     } else {       mobicontrol.message.createInfoDialog('Invalid store:'+storeId).show();    inputStore(); //repeat input       //mobicontrol.log.info('Invalid store:' + storeId);     } } function isValidStoreId(storeId) { return ((typeof storeId === 'string' && !isNaN(storeId)) && storeId.length == 5)};   My server version Version: 15.3.3.1065

    SOTI MobiControl
    a year ago
  • 0 votes 3 answers

    mcsetup.ini to envoke enrollment URL

    Hi all,At the moment I am working on our Honeywell CK65's where I am trying to use the mcsetup.ini file to envoke the enrollment URL after provisioning it with Honeywell Provisioner. Is there a way to get this working so that the device can be setup in a one step process ? We have transfered mcsetup.ini  /sd/download using honeywell provisioner can we specify the enrollment in honeywell or in the mcsetup.ini we cannot use enrollment ID as our enviorment is fully isolated from the internet.Thanks in advance.

    SOTI MobiControl
    2 years ago
  • 0 votes 4 answers

    MCSETUP.ini - v15.3 Solved Locked

    Hello,  I am testing v15.3 before deploying it in our environment. It appears that the ability to download the mcsetup.ini file no longer exists for Android devices. Any ideas? Installation Server: On Premise, Non-Internet Facing (outbound to Internet allowed, Not visible from Internet) Version: v15.3.0.6713   Device: Zebra TC77 OS: Oreo (8.1) Management Model: Android Enterprise   Provisioning Method: Zebra StageNow - APK installation     How do I get the McSetup.ini file to use for this installation. Our current version provides an option to download the INI file as part of setting up the Add Device Rule. This option appears to no longer be available.    Thanks Jim

    Android
    4 years ago
  • 0 votes 1 answer

    How to download mcsetup.ini file in MobiControl v 15? Solved Locked

    In previous versions of Mobicontrol, right-clicking on an Add Devices rule (for Android Enterprise in this case) presented a choice to download the installer apk or mcsetup.ini.  That choice is now gone in version 15.  I need to grab the mcsetup.ini in order to put it into a Zebra StageNow MDM enrollment profile. Am I missing something here?  Did they move that download option to somewhere else that I can't seem to locate?

    Android
    5 years ago

Top 3 Contributors of The Week

View All

Earn Contributor Badge

More info
  • Diamond
    Diamond New !

    Top-tier experts who are delivering outstanding content. Should have more than 7000 points.

  • Platinum

    Experts who are consistent with great content. Should have more than 1000 points

  • Gold

    Highly experienced members with valuable inputs. Should have more than 700 points

  • Silver

    Beginners taking the initiative. Should have more than 500 points