@dcarlton Why not a Self Service plugin?
Or, I've used little AppleScript apps to open URLs. You can then add icons as needed & version number the apps to update them as needed.
Pretty sure you can...
- Drag an address directly from the address bar of your browser to the desktop.
- Go into info with command+i copy and paste any picture you want into the icon.
- Place the file somewhere that is accessible to all (I usually just drop them into Applications).
- Capture that in composer and deploy it.
- Then add it to the dock however you normally do, it displays with whatever icon it was given.
Certainly works for us with some internal sites we use.
Yes, you sure can do it.
I place my webloc files in a folder in /Library/Application Support.
You can add a custom icon to the file by getting info and pasting your icon over the top of the original icon. Then drag the file into Composer and create a dmg file.
You may also get an icon file, don't delete this as it stores the info on your custom icon
Upload the dmg to Casper Admin, then deploy the dock item. I use dockutil to deploy!



stevevalle,
Thanks for your response. Are you saying that composer should pull the icon file in when I drag the .webloc into Composer? That is not happening for me even though I have applied a custom icon to my .webloc file on the computer.
Thanks,
Doug
Hi @dcarlton
I found that the icon file was not added with files such as webloc files, but is added with items such as folders.
The icon should be saved with the webloc file.
I just did a quick test, created a self service policy to add the webloc file to a folder in Application Support, then add it to the dock using dockutil



Not sure if this is still an open topic but I cannot get the dock icon to appear for a .webloc at all
Even though I have added my custom icon it just doesnt add anything to the dock.
Any help on this @stevevalle would be great
Di you have any luck @dcarlton ?
@m.higgins Unfortunately I've been caught up in other work so this has become a summer project for me. I'll definitely be returning to this thread, however, to try out the method that @stevevalle mentioned.
@m.higgins Do you see the icon on the file when you drag it into Composer? Is the icon attached to the file once the package is created?
I noticed in newer version of the JSS you can actually send web clips as configuration profiles and they populate onto the right hand side of the dock. Really works quite well (we are on JSS 9.82 with OS X 10.11 clients).
Hey, sorry to bring this up again but is there anyone that managed to the webloc with the custom icon added to the dock through dockutil? thanks!