Posted on 05-06-2021 01:40 PM
Hey all!
What sort of solutions do folks use if they want to take a simple shortcut to a webpage, add an icon to it, and place it in the dock through either a policy or PKG?
We want some felxibility over how we deploy it and while I have used Dockutil/Profile creator and the web clips option as a config profile in JAMF...i've been wondering if there was a way we can deploy via policy or even standalone PKG, and without having to deploy it with a third-party app like dockutil.
Solved! Go to Solution.
Posted on 05-07-2021 08:32 AM
I create a webloc file with the web address (link below). This should be copied to your applications folder and on your dock. I package the file in Composer for later deployment. In Jamf Admin I create a dock item. Then the policy installs the pkg and dock item. I tried using webclips but could not get them to work as desired.
I've only used dockutils to remove dock icons but you dont need it to deploy using the method above.
How to create a webloc file: https://appleinsider.com/articles/18/05/15/how-to-add-bookmarks-for-your-favorite-websites-to-the-macos-dock#:~:text=To%20create%20a%20Webloc%20file,drag%20it%20onto%20the%20desktop.
Posted on 05-07-2021 08:32 AM
I create a webloc file with the web address (link below). This should be copied to your applications folder and on your dock. I package the file in Composer for later deployment. In Jamf Admin I create a dock item. Then the policy installs the pkg and dock item. I tried using webclips but could not get them to work as desired.
I've only used dockutils to remove dock icons but you dont need it to deploy using the method above.
How to create a webloc file: https://appleinsider.com/articles/18/05/15/how-to-add-bookmarks-for-your-favorite-websites-to-the-macos-dock#:~:text=To%20create%20a%20Webloc%20file,drag%20it%20onto%20the%20desktop.
Posted on 05-08-2021 08:24 AM
@geoff.widdowson Man it has been a minute since I've even messed with weblocs, that helped a ton! Took that and packaged it with a little post install script to put it on the dock and it's working great.
I was originally doing a little automator workflow but this made it much simpler and quicker to create. Thanks!
Posted on 08-05-2021 03:15 AM
@jclarke27 how did you package up the webloc? Could you post your script?
Posted on 08-27-2021 07:07 AM
Hey Im not sure how he Packaged them up but this is how I did it:
1) Followed the link from above and exported the links
2) Created a folder and put then in the applications folder with the desired links
3) Created a package with that Folder
Now I just need to find a way to out that fold on the dock.
Hope that helps, let me know if you all know a way to add it to the dock. I'll derp around with dockutil for a bit.
Posted on 08-27-2021 07:19 AM
You setup the Dock Items using Jamf Admin. With the Dock icons you want setup, open Jamf Admin and 'Add Dock Items' from the top. You should be able to pick ones it finds. Create a Dock Item for each and save Jamf Admin when finished. Now you just use a Jamf policy to deploy the Dock item after you after deployed your Dock Items package.
Posted on 08-27-2021 07:29 AM
Wow thank you for the fast reply! I am going to give that a try.
Posted on 11-25-2021 04:51 AM
Hi, thanks for the informative post, the only thing i am battling with is to get Jamf Admin to see the webloc file, so as to turn it into a dock icon
Did you have any luck?
Posted on 11-25-2021 05:01 AM
The device you are running Jamf Admin must have the icon already on the dock, otherwise you will not be able to create the icon in Jamf Admin. So not only does the webloc have to be in the Applications folder, but on the dock.
Posted on 11-25-2021 06:14 AM
Thanks, figured that out about 2 min before you replied.
but thanks again for the speedy response