Importing StageNow XML with mxconfig doesn't work

Solved
OS
Oliver Strauss
Octapharma Plasma GmbH

Hello,

I created a profile with StageNow importing some PersonalDictionary items to the device. I tested the profile by using the StageNow App and the entries are present on the device. So I created a package for the device with the exported MDM XML file and a Post-Install script running "execute_shell mxconfig /sdcard/import.xml"

The content of the XML is:

<wap-provisioningdoc>
<characteristicversion="6.3"type="PersonalDictionary">
<parmname="Action"value="3" />
<parmname="UseCurrentLocale"value="0" />
<parmname="Locale"value="de" />
</characteristic>
<characteristicversion="6.3"type="PersonalDictionary">
<parmname="Action"value="1" />
<parmname="UseCurrentLocale"value="0" />
<parmname="Locale"value="de" />
<parmname="AddWord"value="umpunktion" />
<parmname="Shortcut"value="up" />
</characteristic>
<characteristicversion="6.3"type="PersonalDictionary">
<parmname="Action"value="1" />
<parmname="UseCurrentLocale"value="0" />
<parmname="Locale"value="de" />
<parmname="AddWord"value="links nach rechts" />
<parmname="Shortcut"value="lr" />
</characteristic>
</wap-provisioningdoc>
 
But it doesn't work. The package was successfully installed on the device, but the entries are missing. 
 
Device Zebra TC51-HC with the latest Android 7.1.2 and Soti agent 13.6.
 
Any suggestions how to import the words and shortcuts using the xml file?
 
best regards
Oliver
6 years ago
Android
ANSWERS
M
MichaelM
6 years ago

Hi Oliver,

have you tried leaving the "execute_shell" command out of the post-install script? I've never heard about this script command being used with the mxconfig command.

I also have some TC51 devices in my environment and the mxconfig command works like a charm.

Since you've tested the profile with StageNow I assume that the MX Version of the StageNow profile and on the device are compatible?

Solution
OS
Oliver Strauss
6 years ago

Hi Michael,

thanks for the hint, removing the "execute_shell" command is the solution. It's our first Android device and I found the "execute_shell" command in a zebra forum. 

Frohe Weihnachten. :)