URL Link Creator is a small tool I created to generate URL files on macOS from Jamf's Self Service. When you run the policy through Self Service, it will generate a link on the Desktop with the name and URL you decided through the policy.
For safety, if a link with the same name exists on the User's desktop, the script will display a dialog warning that the user must delete it first.
- Create a new script in Jamf Pro.
- Add the contents of the script.
- Set up $4 parameter as the name of the URL file as it will appear on the Desktop, and $5 the URL of the link. It can be any kind of the URL schemes that macOS supports (i.e. https://, smb://, vnc://, etc.
- Create a new Self Service policy and set up Parameters
- $4 as the URL of the link
- $5 as the name of the link, as it will appear on the Desktop.
- Run the policy from Self Service. If it runs properly, it should create a nice link on the user's desktop.