Posted on 02-20-2020 11:36 AM
Does anyone have any insight into how I could create customized MacOS notifications? For instance, the notifications that pop up telling you to update your system, but a custom one telling a user they're eligible for an upgrade with an option to contact IT or ignore.
Is this something that sounds possible? Thanks!
Posted on 02-20-2020 02:03 PM
yo notifier - I use this, works pretty well. compile with xcode if you want to do your own branding
terminal-notifier - another popular option
Posted on 02-20-2020 02:35 PM
I've used Yo in the past also and it works well. I may have some old scripts around that were designed to send a custom message, icons and so on to Yo and have it display a notification.
Keep in mind that under 10.15 now, your message may not automatically pop up without the user approving it, as per this thread. You could always create a profile using some of the methods on that thread to pre-approve it, at least until Jamf fully bakes that profile payload into the product.
Posted on 02-20-2020 02:36 PM
If you're running things in a script, you can call the Apple notifications with the code below:
osascript -e 'display notification "Installing Microsoft Silverlight" with title "DEP - Configuration"'
I use this to display notifications to our technicians when our app installation script is running.
Posted on 02-20-2020 05:30 PM
You should be able to create a policy with out any payloads...
Then scope it to your machines... which the message will pop up as a 'Management Action' notification at the top right corner of your client machines.
Hope this helps!