Payload Variables
There are several payload variables that you can use in any payload in Jamf School to populate settings with attribute values stored in Jamf School.
You can also combine variables with static text. For example:
%Username%
@domain.com%ProductName%
of%FullName%
In addition to combining variables with static text, you can also combine function variables. For example: %FullName,prefix:http://google.com/search?q=,barcode%. This creates a QR code that links to google.com and searches for the user's full name.
The following table describes the payload variables you can use in Jamf School.
Variable | Details |
---|---|
Global Variables | |
| The internal ID of your organization |
| The Network ID of your organization |
| The name of your organization |
User Variables (Devices with owners only) | |
| The user’s full name |
| The user’s first name |
| The user’s last name |
| The user’s email address |
| The user’s short name For example: jdoe |
| Alias for |
| The user’s password Note: You can only use this variable if the credentials are stored in Jamf School. |
| The user’s internal ID |
| List of groups the user is a member of |
| The user's Managed Apple ID |
| The type of user For example: Staff, Student, or Teacher Note: You can only use this variable if the user has a Managed Apple ID. |
| The grade of the user For example: K1 Note: You can only use this variable if the user has a Managed Apple ID. |
Service Token Invitation URL | |
| (Profiles only) Link to the URL where the user can accept the service token invite Note: You can only use this variable if the user has not associated with a location-based token. |
Device Variables | |
| The device name |
| List of groups the device is a member of |
| The device's OS version For example: 8.1.3 or 10.9 |
| The device's unique identifier |
| The device’s serial number |
| The device’s product name For example: iPad or MacBook |
| The MAC address of the device’s WiFi interface |
| The device’s asset tag |
| The device’s notes |
Functions | |
| Lists the first 5 digits of the variable |
| Lists the variable in lowercase letters |
| Lists the variable in uppercase letters |
| Adds a prefix to the variable |
| Adds a suffix to the variable |
| (Wallpaper payload only) Adds a QR code with a link to the device in Jamf School |
| (Wallpaper payload only) Adds a QR code |
Location Variables | |
| The location's name |
| The location's city |
| The location's address |
| The location's postal code |