Skip to main content

Device Data Placeholders

Use placeholders in various Vexluna features to help identify your devices

Updated over a month ago

In supported text input fields, such as when renaming a device, you can use special placeholders to substitute pieces of device-specific data. For example, you might want to include a device's asset tag in its name when issuing a rename command.

Note that placeholders are only substituted when the text containing them is sent to a device. Any subsequent updates to values backed by placeholders won't be reflected unless you issue another command to the device.

For example, if you rename a device using the value "Asset {assetTag}" but you only define the device's asset tag after renaming the device, the resulting name will be "Asset" as the {assetTag} placeholder was substituted with the empty asset tag. A new command to rename the device won't be automatically sent after changing the asset tag value.

Available Placeholders

Placeholder

Substitution

Notes

{deviceName}

Device name

Device name as configured in System Settings

{mdmName}

Device MDM name

"MDM name" is configured in the Vexluna device info page. It is never displayed on the device.

{assetTag}

Device asset tag

{serialNumber}

Device serial number

{productType}

Name of product

For example, "iPhone"

{model}

Device model name

For example, "iPad Pro 13-inch (M4)"

{modelNumber}

Device model number

For example, "NVXR3LL/A"

{platform}

Device platform name

For example, "iOS", "macOS", "Apple TV"

{phoneNumber}

Device phone number

{imei}

Device IMEI

If a placeholder value is not available or not applicable to a device, the placeholder tag will simply be removed and nothing will be substituted in its place.

Did this answer your question?