Mark Young Posted July 27 Share Posted July 27 Hi All, I'm following the guidance from the following article to create a profile to update KSP application settings as custom settings: https://blogs.vmware.com/euc/2020/02/deploying-knox-service-plugin-ksp.html What isn't clear is what the syntax in custom settings xml should be when the restrictionType is "multi-select." The xml from the restrictions looks like: <restriction android:description="@string/profile_permission_configuration_description" android:title="@string/profile_permission_configuration_title" android:key="profilePermissionConfiguration" android:restrictionType="bundle"> <restriction android:description="@string/profile_special_access_permission_description" android:entries="@array/profile_special_permission_entries" android:title="@string/profile_special_access_permission_title" android:key="profileSpecialAccessPermission" android:defaultValue="" android:entryValues="@array/profile_special_permission_value" android:restrictionType="multi-select"/> <restriction android:description="@string/profile_special_access_component_description" android:title="@string/profile_special_access_component_title" android:key="profileSpecialAccessComponentName" android:defaultValue="" android:restrictionType="string"/> </restriction> </restriction> The resulting profile (partial) processed by KSP should look something like: "applicationPolicy": { "mAppUsbDeviceAccessConfigMap": {}, "mAutoLaunchApp": null, "mBatteryOptWhitelist": null, "mBlacklistPackageToInstall": null, "mBlacklistSignatureToInstall": null, "mClearCacheBlocklist": null, "mClearDataBlocklist": null, "mDisableApp": null, "mDisableHeatManagement": false, "mDoAppUpdate": { "mApps": null, "mType": "NONE" }, "mEnableAppUsbDeviceAccess": false, "mForceStopBlacklist": null, "mInstallApp": null, "mIsEnabled": true, "mIsSpecialPermissionEnabled": true, "mNotificationsBlocklist": null, "mNotificationsWhitelist": null, "mSpecialPermissionList": [ { "opsList": [ "92" ], "packageName": "com.RestaurantDataConceptsInc.POSiterm" } ], "mWhitelistPackageToInstall": null, "mWhitelistSignatureToInstall": null, "mWidgetBlacklist": null, "mWidgetWhitelist": null }, I can't figure out what the xml syntax would be for the array, "mSpecialPermissionList" in the above. Any thoughts? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.