Skip to content

string (from list)

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

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

Managed App Schema Builder app string from list

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

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

"primaryServer": {
	"title": "Primary Server",
	"description": "Choose Disk Manager’s primary working server.",
	"default": "server3.mooserat.com",
	"property_order": 30,
	"type": "string",
	"options": {
		"enum_titles": ["North Server", "South Server", "East Server", "West Server"],
		"infoText": ""
	},
	"enum": ["server0.mooserat.com", "server1.mooserat.com", "server2.mooserat.com", "server3.mooserat.com"],
	"links": [
		{
			"rel": "Server Status",
			"href": "https://status.mooserat.com"
		}
	]
}

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>primaryServer</key>
    <string>server3.mooserat.com</string>
  </dict>
</plist>

For additional schema formats, continue to...

string array

Clone this wiki locally