How to Resolve "Only XML format is accepted" Errors When Copying XML Code in Managed App Configurations
Summary
Related SOTI ONE Platform Products
Related Device OS
Issue Description
Adding valid XML code in a managed app config under advanced configurations of an iOS app policy fails to save and displays an "Only XML format is accepted" error.
Environment
All SOTI MobiControl versions that support managed app configurations for an iOS app policy.
Symptoms
When saving the configuration, the error message "Only XML format is accepted" is displayed.
Cause
By default, SOTI MobiControl adds a header and footer for XML when deploying the application policy to devices. This causes duplication and leads to a syntax error in XML when installing the app on the device.
Issue Resolution
1. Remove the following header and footer from the valid XML code being adding to the managed app configuration:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" " http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
.
.
.
</plist>
2. Save the configuration and apply the app policy to devices.
Additional Information
For an example of XML code for managed app configuration of an application, see How to install GoodNotes for Institutions via MDM.
Was this helpful?
Thanks for your feedback