So this may be a stupid question. All of the notifications that come from jamf policies (patch management for example) always show with the default jamf icon. Where do you set a custom image?
Happy New Year, @rpayne!
My current understanding is that it's not possible.
The following may prove helpful:
https://snelson.us/2022/11/macos-notifications-via-swiftdialog-0-0-1/
Dear@dan-snelson,
I have followed your guide properly and it changes icon only for swiftDialog notification. My JAMF Management Notification icon is still same. If I install any custome policy package via self-service notification icon shows the same as jamf default.
Dear@dan-snelson,
I have followed your guide properly and it changes icon only for swiftDialog notification. My JAMF Management Notification icon is still same. If I install any custome policy package via self-service notification icon shows the same as jamf default.
Setting - Self Service - Branding
Dear@dan-snelson,
I have followed your guide properly and it changes icon only for swiftDialog notification. My JAMF Management Notification icon is still same. If I install any custome policy package via self-service notification icon shows the same as jamf default.
Correct, @sam89, only swfitDialog-generated Notifications are custom-branded.
MA="/Library/Application\\ Support/JAMF/bin/Management\\ Action.app/Contents/MacOS/Management\\ Action"
loggedInUser=$( echo "show State:/Users/ConsoleUser" | scutil | awk '/Name :/ { print $3 }' )
title="Title goes here"
subtitle="Subtitle goes here"
message="Message goes here"
/usr/bin/su \\- "${loggedInUser}" -c "${MA} -title \\"${title}\\" -subtitle \\"${subtitle}\\" -message \\"${message}\\""
Correct, @sam89, only swfitDialog-generated Notifications are custom-branded.
MA="/Library/Application\\ Support/JAMF/bin/Management\\ Action.app/Contents/MacOS/Management\\ Action"
loggedInUser=$( echo "show State:/Users/ConsoleUser" | scutil | awk '/Name :/ { print $3 }' )
title="Title goes here"
subtitle="Subtitle goes here"
message="Message goes here"
/usr/bin/su \\- "${loggedInUser}" -c "${MA} -title \\"${title}\\" -subtitle \\"${subtitle}\\" -message \\"${message}\\""
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.