Self Service - to open a webpage?

Looking to allow using the taskbar self service to open a webpage? Is that possible? Basically just to do a single URL?

Windows -

If you want to use the User’s default browser.

override wait
completion=job
runas=currentuser
wait cmd.exe /C “start https://www.google.com”

https://developer.bigfix.com/action-script/reference/execution/override.html

3 Ways to Auto Open a Web Page on Startup (Windows) - Method 2

2 Likes

A few options quickly come to mind.

You could create an “offer” that could be accepted leveraging custom content as orbiton suggests.

Alternatively you could set the “help message” and include a url - this shows at the bottom of ssa & is intended for a very common url like “to get support”

Another option is if messaging is enabled, to send a message to the clients.

And the final option I can think of is a custom dashboard that includes a weblink. This is an example from one of the hcl guys: BigFix - Customize the Self Service Application

2 Likes

The solution for macOS is very similar:

parameter "theURL"  = "PasteYourURLHere"
parameter "theID" = "{id of user of current user}" 
parameter "theName" = "{name of user of current user}" 
wait launchctl asuser {parameter "theID"} sudo -u {parameter "theName"} open "{parameter "theURL"}"

I haven’t rechecked in quite a while, but it used to be that override / runas isn’t quite what you’d expect on macOS. This method instead uses native methods for executing from root into a user’s context. The open command horks a URL out to the default browser.

man launchctl
man open

2 Likes