Use XML provisioning to collect custom attributes based on device details. Custom attributes enable you to use advanced product provisioning functionality.

To begin collecting custom attributes, take the following steps.

  1. Navigate to Devices > Staging & Provisioning > Components > Files/Actions > Add and select Android as your platform.
  2. Create an XML provisioning file. See Create an XML Provisioning File. The manifest must include an action to download the XML file to the Zebra device location /enterprise/usr/attributes.

    For non-Zebra Android devices, the XML file location is /sdcard/Android/data/com.airwatch.androidagent/files/attributes/.

Upon receiving the XML file, the AirWatch Agent for Android creates a custom attributes output file.

During the next check-in with AirWatch, the AirWatch Agent sends the output file to the Workspace ONE ™ UEM console.

Once the XML file installs, the custom attributes requested in the file exported to the console. These values display in the console in the Device Details page under custom attributes. The Device Details page enables you to view the name of the attribute and the values returned from each device. These values can be used to create product assignment rules using the Custom Rules system.

Here is an example of the Android XML.

<?xml version="1.0"?>
                  <attributes>
                  	<attribute name="attribute 1" value="value 1"/>
                  	<attribute name="attribute 2" value="value 2"/>
                  	<attribute name="attribute 3" value="value 3"/>
                  </attributes>
                  
                  
                  
                  
               

Prod_Prov_CustomAttributes

You can also view existing custom attributes for all devices at a particular organization group and manually create custom attributes directly in the console. Navigate to Devices > Staging & Provisioning > Custom Attributes > List View to see these custom attributes listed. Any custom attribute created in this manner automatically associates with a device and its respective custom attribute value that is successfully transmitted to the console.