Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Starting Smart Clients

Starting a Servoy Smart Client is done by accessing a URL on the Servoy Application Server. Depending on the configuration of the Servoy Application Server, an icon might be placed on the users desktop to start the application thereafter.

By default, the Servoy Application Server comes with a web page for starting Smart Clients. This web page also provides a link to check if a Java Standard Edition Runtime Environment is installed. This web page is located at <serverUrl>/index.html

Code Block
titleSolution Select Dialog
<serverUrl>/servoy-client/servoy_client.jnlp
Code Block
titleDeeplink into specific solution
<serverUrl>/servoy-client/mySolutionName.jnlp
Code Block
titleSpecify the method to execute on startup
<serverUrl>/servoy-client/mySolutionName.jnlp?method=myMethodName
Code Block
titleSpecify startup arguments
<serverUrl>/servoy-client/mySolutionName.jnlp?argument=value1|value2|value3
Code Block
titleSpecify the method to execute & startup arguments
<serverUrl>/servoy-client/mySolutionName.jnlp?method=myMethodName&argument=value1|value2|value3

The Servoy Admin page exposes a couple of settings that influence the starting of Smart Clients:

  • servoy.allowExistingClientActivate: when true, when a Servoy Smart Client is already opened on a machine and from that machine a deeplink url is called that specifies a deeplink method, instead of opening a new Smart Client, the method is invoked inside the existing Smart Client.
  • servoy.clientDesktopShortcutCreation: when true, a shortcut is created on the desktop of the user to start the Smart Client the next time.