-
Notifications
You must be signed in to change notification settings - Fork 157
Subdomains
AP Orlebeke edited this page Apr 8, 2019
·
2 revisions
Introduced in Manifest format version 5, the pfm_subdomain
key adds the ability to create separate manifest files which all contribute to the same Payload domain.
An example of this is with the com.apple.MCX
domain (macOS), which is used for several different purposes, including:
- Energy Settings
- Time Server settings
- Mobile Account settings
- Give the manifest file a unique name
ex.
com.apple.MCX-TimeServer.plist
- Add
pfm_subdomain
into the manifest at the root level.
<key>pfm_subdomain</key>
<string>TimeServer</string>
- Set the
PayloadDisplayName
to the domain (ex. com.apple.MCX) to avoid confusion.- Otherwise, if the
com.apple.MCX-TimeServer
subdomain payload were added first along withcom.apple.MCX-MobileAccounts
, the first added payload's uniquePayloadDisplayName
would be displayed.
- Otherwise, if the
<dict>
<key>pfm_default</key>
<string>com.apple.MCX</string>
<key>pfm_description</key>
<string>Name of the payload.</string>
<key>pfm_description_reference</key>
<string>A human-readable name for the profile payload. This name is displayed on the Detail screen. It does not have to be unique.</string>
<key>pfm_name</key>
<string>PayloadDisplayName</string>
<key>pfm_require</key>
<string>always</string>
<key>pfm_title</key>
<string>Payload Display Name</string>
<key>pfm_type</key>
<string>string</string>
</dict>
This will cause ProfileCreator to display your manifest file as a different payload in the GUI.