Skip to content

integer (from list)

leslie helou edited this page Sep 28, 2025 · 6 revisions

Allows admins to choose a setting from a list of items that each correspond to an integer. When choosing this value type, additional attributes become available. Enter a comma-separated list of titles and a comma-separated list of corresponding integer values.

Managed App Schema Builder app integer from list

A manifest choice for a fictional app called Disk Manager includes the following:

"askForPasswordDelay": {
	"title": "Ask for password delay",
	"description": "Disk manager will wait the selected amount of time before requiring a password.",
	"default": "0",
	"property_order": 25,
	"type": "integer",
	"options": {
		"enum_titles": ["immediately", "5 seconds", "1 minute", "5 minutes", "15 minutes", "1 hour", "4 hours", "8 hours"],
		"infoText": ""
	},
	"enum": [0,5,60,300,900,3600,14400,28800]
}

Note, the default value must be selected from the list of values (enum) rather than from the list of titles (enum_titles).

Jamf Pro will display:

Jamf Pro choices display

This generates the XML equivalent of:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>askForPasswordDelay</key>
    <integer>900</integer>
  </dict>
</plist>

For additional schema formats, continue to...

integer array

Clone this wiki locally