Learn how the version attribute in Import Device XML file works.
VHQ uses .XML file to import the device parameters. The importing of parameters into device is basically done through an automated script that generates an XML. In order to perform this action the application version requires specification to identify the device with the relevant application version and update the script to generate the XML. This attribute in the .XML file include placeholders to point to the version on device.
There are few points that you must consider:
NOTE: Current behaviour applies if the device is not already boarded, depends on what operation is set in XML file such as A, UA, D.
NOTE: The software assigned to a device may change as part of the import operation and this should also be accounted.
As the attribute Version is set to Current, VHQ identifies the version of My-Application application is associated with the Device ID, via the Reference Set associate to the Hierarchy that the device is being assigned to. VHQ then associates the parameters to the following version.
Devices that are not boarded to VHQ will not have the application version. Therefore, in such an instance we must check for the application version on the server.
For the devices that are getting boarded with software assignment through import or for the devices for which software is getting assigned through import, VHQ currently evaluates the software and parameters using asynchronous backend jobs. Same needs to be changed to make these jobs as synchronous or real-time. Otherwise for such devices parameter import will always fail. During import even if one of the parameters do not match the application parameters present on server for a device, the operation fails for the particular device.