Creating a script to launch a specific solution

I didn’t know where else to ask this question, so I figured I would ask it here.
Is it possilble to write a script outside of Servoy that when activated will open both Servoy as well as a specific solution? Thereby bypassing the opening screen asking which solution you would like to run.

You don’t need a script just a URL in format

http://IP-ADDRESS:8080/servoy-client/se … -NAME.jnlp

Just change IP-ADDRESS and SOLUTION-NAME and copy this URL into a Web Browser. After the initial Java webStart downloads you/your clients will be able to click on the desktop icon and go straight through to the Solution.

HTH

Graham Greensall
Worxinfo Ltd

For smart client:

http://ipaddress:8080/servoy-client/servoy_client.jnlp?solution=solutionname

For web client:

http://ipaddress:8080/servoy-webclient?bookmarkablePage=solution&solution=solutionname

Dean

From 3.0b3 the url formats are simplified:

smartclient: http://ipaddress:8080/servoy-client/ser … nname.jnlp

webclient: http://ipaddress:8080/servoy-webclient/ … lutionname

A related question:is it possible to switch to another solution from within a servoy solution?

currently not but we could provide a method application.openSolution(‘xyz’), would that help?

Jan Blok:
currently not but we could provide a method application.openSolution(‘xyz’), would that help?

Humm sounds like candy!

Miguel

Jan Blok:
currently not but we could provide a method application.openSolution(‘xyz’), would that help?

Jan, if we fill in the solution, that we are currently into, will that mean, that the current solution will be closed, and restarted?

would fix or problem, that we can users relogin, (for example needed, when we use tableFilterparam)

Jan Blok wrote:
currently not but we could provide a method application.openSolution(‘xyz’), would that help?

Jan,

a method application.openSolution(‘xyz’) would certainly help! Would a function like that keep the existing login information intact? So that a user does not have to login again?

a method application.openSolution(‘xyz’) would certainly help! Would a function like that keep the existing login information intact? So that a user does not have to login again?

Interesting idea, concerning the above I would suggest a boolean true or false. True == the login data remains valid, false == the login data is removed, new login is required…

Cheers

Just checking if the openSolution() idea is still on the wishlist?

IT2Be:
Interesting idea, concerning the above I would suggest a boolean true or false. True == the login data remains valid, false == the login data is removed, new login is required…

I vote for this one!!
I would be handy in a lot of scenarios.

its working in Servoy 3.1

Thanks Jan!

We use closeSolution, correct? Neat!

application.closeSolution( [solution_to_load], [method], [argument])

Is there a way to clear the login data as suggested by Marcel?

pass the solution name in application.closeSolution(…)