How to override the startup method OR pass parameter to it

Hi there,

I want to call a method in a solution but I need not to run the startup method.
For example:
http://localhost:8080/servoy-client/ser … gument=123

OR

I want to pass a parameter to startup method as follows and the do necessarry work accordingly:

http://localhost:8080/servoy-client/ser … gument=123

Is anyone of this possible?

Thanks

Yes , it’s in the manual: Deployment>Servoy Client

BTW: if you’ve attached an opening method to the solution settings
it will get triggered, even if you’re deeplinking into the solution.

So your next question is probably, can I pass an argument to the startup script doing:
http://localhost:8080/servoy-client/ser … gument=123

answer: no

And doing following will cause your startup script to run twice:
http://localhost:8080/servoy-client/ser … gument=123

I’ll check with dev team if we can offer a deep link to a startup script
without it being fired twice.
Or perhaps a parameter that overrides startup script when offering a deeplink.

Many thanks for that.

I really need it.

maarten:
So your next question is probably, can I pass an argument to the startup script doing:
http://localhost:8080/servoy-client/ser … gument=123

This will work in Servoy 3.0