Create shourtcut on desktop when passing arguments in URL

Hi Guys,

We have an application in a hosting environment and we have a few organizations using the application at the same time so we need to know which organization is trying to use the application when we show them the login page. We are passing the organization id as an argument in the URL so that we can load their organization users on login. The problem is when I pass some arguments in my URL the shortcut wouldn’t get created on the user’s desktop so they can use the shortcut after first execution of the jnlp file. This is very inconvenient because they will have to download the jnlp file every time they want to use the application. Is there a setting in the servoy admin page or any workaround we can use to prevent this behaviour?

Regards,
Siavash

ok I found a workaround. I create profiles on servoy admin (one profile for each organization). This way it is actually creating a shortcut on the desktop and the shortcut is pointing to the solution with the mentioned profile in it.

This is indeed a problem when using arguments.
The profiles are the correct way to deal with it.
Only problem I found is that this is not really scriptable (although you probable could use the UserManager plugin for this as all profiles are stored in your servoy.properties file.

If you don’t want to use profiles you can also create shortcuts (on Windows)
shortcut should point to: ‘javaws ’