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 4 answers

    Any way to disable prompt from Contacts_Import? Solved

    Hi, I have implemented the method to import contacts onto our Android Zebra TC-56's outlined hereand it does work. I am wondering if there is a way to get around the prompt of "Do you want to import these contacts? Yes/Cancel". As I guarantee at least some users would hit cancel. I've tried sending intent commands, as well as scripts such as this: import_contacts_vcf and it does not seem to work. Is there a way to run the import command against Contacts.vcf without having to manually accept the prompt? Thanks!

    Android
    2 years ago
  • 1 votes 5 answers

    import_contacts_vcf CAN update contacts

    I've read a few posts about this new command available from agent version 14.5 and they suggest that you cannot update contacts.According to posts here the below is what you can do with it. Format of the Script is:import_contacts_vcf <filePath> 1/00 = Add contacts to existing contacts1 = Replace existing contacts with the new contacts of the vcf file After some testing I've verified you CAN update contacts (using option 0) as long as your VCF entries have a unique identifier (UID), see example below. If you change any values other than the UID on a newer file it will update the contact with the corresponding UID. BEGIN:VCARDVERSION:3.0N:_Name;;;FN:_FullName MultiORG:Company;DepartmentTEL;WORK:+449999999999UID:9420ba46-7e64-4d72-b6ea-25e102697764ADR;TYPE=work:;;;City;;;END:VCARD Hope this is helpful.

    Android
    4 years ago
  • 1 votes 4 answers

    Suggestion on command import_contacts_vcf Solved

    Hi, we test new script "import_contacts_vcf" is good idea but we have some suggestions: before we use cgy.rgy.xpi with Contacts.vcf located in downloads folder and works very well, but in my org we have 2 types of separated contacts. This contacts stored on "Phone contact folder". On the one hand we have GAL contacts, we take this from MS Graph APIs and make a .vcf with all data, this file is sync to Downloads folder on every device (file sync rule) On the other hand we have individual driver contact (one .vcf by driver restored from old device). The problem is: In the future when we need to update GAL list on every device, need to delete manually all contacts and import this 2 .vcf with cgy.rgy.xpi or import_contacts_vcf. (GAL vcf and driver vcf) and if driver creates new contacts this dissapear. With import_contacts_vcf $varFolder 0 import all contacts from vcf but if you have contacts then duplicate. With import_contacts_vcf $varFolder 1 this delete all contacts (driver contacts imported with cgy.rgy.xpi too) and then create all contacts from .vcf This contacts stored on "Device contact folder" Is possible to have an export_contacts_vcf from "Phone contact folder" before execute import_contacts_vcf $varFolder 1? to delete all and import GAL updated and import driver contacts My temporally solution is: import_contacts_vcf %sdcard%/Download/EncodedContacts.vcf 1 > this delete all and create update GAL import_contacts_vcf %sdcard%/Download/Contacts.vcf 0 > this only add driver contacts   with this if any driver creates new contacts post migration to new devices they don't have this contact because 1st command delete all

    MobiControl - Android Script Engine
    4 years ago
  • 0 votes 1 answer

    Loading a VCF via sendintent Solved Locked

    Hi I'm file syncing a VCF file to Samsung XCover 4 devices and using  sendintent -a "intent:file:///sdcard/contacts.vcf#Intent;action=android.intent.action.VIEW;type=text/x-vcard;end" It works but requires user interaction to save the file.   Is there a flag that can be set in order for it to be silently loaded so we don't rely on the user to press Save? Thanks Eddie

    Android
    6 years ago
  • 0 votes 10 answers

    Automatically import contacts from a VCF file Solved Locked

    Hi all, Zebra TC75 android I'm trying to import contacts into the devices automatically. I can copy a vcf file to sd as package, if I open the file manually in the file explorer it'll ask if I want to import the contacts. But if I open the file through a script it tries to load them through PDF viewer. If I open the "Contacts" app and click import/export -> import from SD card. everything works as expected. What I want is to have a pre/post install script which will update the contacts on the device automatically. But currently the closet to getting what I want is to open contacts, and send a message to the user to import the contacts file. <code>start activity com.android.contacts/com.android.contacts.activites.PeopleActivity showmessagebox "Please use the menu in the top right hand corner, press import/export, and click \"Import from Storage\""</code> This there an intent I can send which will open the import command with no user intervention? I've looked through the source code and can see the action "com/android.contacts.vcard.ImportRequest" but nothing happens when I try sending it as an intent, am I missing an instruction, as you can import from sdcard or simcard? <code>sendintent -a "intent://com.andriod.contacts#Intent;action=com.android.contacts.vard.ImportRequest;end"</code> Thanks for any ideas Gary

    Android
    7 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