Skip to content

integer

William Smith edited this page Feb 17, 2020 · 4 revisions

An integer allows admins to type a whole number into a field to specify a setting.

Managed App Schema Builder app integer

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

"diskCacheSize": {
	"title": "Disk cache size",
	"description": "Limits the amount of space for temporary caches.",
	"property_order": 5,
	"anyOf": [
		{"type": "null", "title": "Not Configured"},
		{
			"title": "Configured",
			"type": "integer"
		}
	]
},

Jamf Pro will display:

Jamf Pro integer 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>diskCacheSize</key>
    <integer>25600</integer>
  </dict>
</plist>

For additional schema formats, continue to...

integer (from list)

Clone this wiki locally