Customize apps on Dock on Mac devices.
  • 21 May 2024
  • 1 Minute to read
  • PDF

Customize apps on Dock on Mac devices.

  • PDF

Article summary

The following Payload helps the IT Admins to set apps on the Dock.

  1. Copy the contents directly from below and add it in Custom Settings in the Device Profile or click here to download the file and import it in the Device Profile.

    <?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>PayloadDisplayName</key>
                <string>Dock config</string>
                <key>PayloadIdentifier</key>
                <string>AB9301194B6C</string>
                <key>PayloadType</key>
                <string>com.apple.dock</string>
                <key>PayloadUUID</key>
                <string>BB3E76D4-45D0-4B0A-8067-ED9301194B6C</string>
                <key>PayloadVersion</key>
                <integer>1</integer>
                <key>static-apps</key>
                <array>
                    <dict>
                        <key>tile-data</key>
                        <dict>
                            <key>file-data</key>
                            <dict>
                                <key>_CFURLString</key>
                                <string>/System/Applications/AppName.app</string>
                                <key>_CFURLStringType</key>
                                <integer>0</integer>
                            </dict>
                            <key>file-label</key>
                            <string>AppName</string>
                            <key>file-type</key>
                            <integer>1</integer>
                            <key>label</key>
                            <string>AppName</string>
                        </dict>
                        <key>tile-type</key>
                        <string>file-tile</string>
                    </dict>
                    <dict>
                        <key>tile-data</key>
                        <dict>
                            <key>file-data</key>
                            <dict>
                                <key>_CFURLString</key>
                                <string>/System/Applications/AppName.app</string>
                                <key>_CFURLStringType</key>
                                <integer>0</integer>
                            </dict>
                            <key>file-label</key>
                            <string>AppName</string>
                            <key>file-type</key>
                            <integer>1</integer>
                            <key>label</key>
                            <string>AppName</string>
                        </dict>
                        <key>tile-type</key>
                        <string>file-tile</string>
                    </dict>
                </array>
                <key>contents-immutable</key>
                <true/>
                <key>tilesize</key>
                <integer>80</integer>
                <key>orientation</key>
                <string>left</string>
                <key>static-only</key>
        		<true/>
        		<key>show-recents</key>
        		<false/>
    		</dict>
            </array>
    		<key>PayloadDisplayName</key>
    		<string>custom-configuration</string>
    		<key>PayloadIdentifier</key>
    		<string>PAYLOAD IDENTIFIER</string>
    		<key>PayloadType</key>
    		<string>Configuration</string>
    		<key>PayloadUUID</key>
    		<string>45A58F11-B3D4-4E9E-AD90-36C3C25A838B</string>
    		<key>PayloadVersion</key>
    		<integer>1</integer>
    	</dict>
    </plist>
  2. Add the application name in the above script, for example:

    <dict>
                        <key>tile-data</key>
                        <dict>
                            <key>file-data</key>
                            <dict>
                                <key>_CFURLString</key>
                                <string>/System/Applications/Safari.app</string>
                                <key>_CFURLStringType</key>
                                <integer>0</integer>
                            </dict>
                            <key>file-label</key>
                            <string>Safari</string>
                            <key>file-type</key>
                            <integer>1</integer>
                            <key>label</key>
                            <string>Safari</string>
                        </dict>
                        <key>tile-type</key>
                        <string>file-tile</string>
                    </dict>
                    <dict>
                        <key>tile-data</key>
                        <dict>
                            <key>file-data</key>
                            <dict>
                                <key>_CFURLString</key>
                                <string>/System/Applications/Google Chrome.app</string>
                                <key>_CFURLStringType</key>
                                <integer>0</integer>
                            </dict>
                            <key>file-label</key>
                            <string>Google Chrome</string>
                            <key>file-type</key>
                            <integer>1</integer>
                            <key>label</key>
                            <string>Google Chrome</string>
                        </dict>
  3. Follow our guide on how to add the Custom Payload in the Device Profile & deploy it to devices.

  4. On the device, the mentioned apps will be displayed in the Dock. For example:

Notes:

  1. The Payload and its contents are sourced from various albeit authenticated Apple Developer communities and forums.

  2. Please validate them on a test machine before deploying them on all your managed devices.

  3. Scalefusion has tested these Payloads, however, Scalefusion will not be responsible for any loss of data or system malfunction that may arise due to the incorrect usage of these payloads.


Was this article helpful?