Issue / Question
How to deploy DataWedge for Android configuration files (.db) using SOTI MobiControl?
Applicable To
DataWedge for Android. Example devices include PS20, TCxx series, VC80x, and WT6000
Resolution / Answer
Overview
DataWedge for Android
Now, you can integrate data captured with your Zebra Android mobile computers into your enterprise applications quickly, easily and without writing any code using the DataWedge for Android, available out-of-the-box on all Zebra Android mobile computers.
SOTI MobiControl
MobiControl enables organizations to manage, support, secure, and track corporate-liable and employee-liable mobile devices from end to end.
Your company can have full control from device enrollment to device retirement regardless of device type, mobile platform, and location.
Solution
A. Android+ (Device Admin) Mode
Create a File Sync Rule to deploy the DataWedge configuration files (for example, datawedge.db or dwprofile_profilename.db).
1. Start the Android Plus File Sync Rule.
2. Set Direction to Download file(s) from Server to Devices.
3. Make sure Device File / Folder Name is equal to
/enterprise/device/settings/datawedge/autoimport/
4. For Server File / Folder Name, specify a complete file system path to the DataWedge configuration (.db) file. (For example: datawedge.db or dwprofile_Profile0 (default).db)
See example:
5. Select the device(s) and/or device group(s) that the rule should target.
6. For synchronization, use the Device Update Schedule.
7. Under review summarized information, select the Advanced button.
8. Scroll down and select the Scripts button.
9. From the After file synchronization has completed execute script section, enter the below script:
execute_shell chmod 777 /enterprise/device/settings/datawedge/autoimport/datawedge.db
See example:
DataWedge configuration (datawedge.db) is successfully deployed and installed using FileSync Rule.
B. Android Enterprise (Device Owner) Mode
Use the same steps outlined in Part A except for step 9. Use the following scripts:
![]() |
NOTE Preceding the "chmod" command is two underscores "__" and not just one. |
__chmod 777 /enterprise/device/settings/datawedge/autoimport/datawedge.db OR __chmod 777 "/enterprise/device/settings/datawedge/autoimport/dwprofile_Profile0 (default).db"
See example:
Helpful Information: