Contents

Notifications

The payload that configures notifications.

Declaration

object Notifications

Properties

NameTypeDescription
NotificationSettings Required[Notifications.NotificationSettingsItem]

An array of notification settings dictionaries.

Discussion

Specify com.apple.notificationsettings as the payload type.

Profile availability

Device channel

iOS, macOS, Shared iPad

User channel

macOS, Shared iPad

Allow manual install

iOS, macOS

Requires supervision

iOS

Requires user-approved MDM

NA

Allowed in user enrollment

NA

Allow multiple payloads

macOS

Profile example

<?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>PayloadContent</key>
    <array>
        <dict>
            <key>NotificationSettings</key>
            <array>
                <dict>
                    <key>AlertType</key>
                    <integer>0</integer>
                    <key>BundleIdentifier</key>
                    <string>com.apple.mobilemail</string>
                    <key>NotificationsEnabled</key>
                    <false/>
                </dict>
            </array>
            <key>ShowInLockScreen</key>
            <true/>
            <key>PayloadIdentifier</key>
            <string>com.example.mynotificationspayload</string>
            <key>PayloadType</key>
            <string>com.apple.notificationsettings</string>
            <key>PayloadUUID</key>
            <string>d1cc23d9-f482-40c5-b7b1-332149659986</string>
            <key>PayloadVersion</key>
            <real>1</real>
        </dict>
    </array>
    <key>PayloadDisplayName</key>
    <string>Notification</string>
    <key>PayloadIdentifier</key>
    <string>com.example.myprofile</string>
    <key>PayloadType</key>
    <string>Configuration</string>
    <key>PayloadUUID</key>
    <string>2bb0ab2e-1e0a-4c03-a662-b4ee2ffe224a</string>
    <key>PayloadVersion</key>
    <integer>1</integer>
</dict>
</plist>

Topics

Objects

See Also

User Experience