This link correctly starts the solution “testsolution”, however the method startup is not called. IF you place a button on the screen and call the method manually it also works correctly.
I am using Servoy 4.1.2, the solution has not other functionality other than this simple test and the expected result should write the arguments into a form variable.
…any ideas I would be very interested to hear as I have an urgent need for this feature to work !!
do you use, login required?
the method and arguments are only fired after you have succesfully logged in!.
otherwise, did you test it in a real smart client? (not the Eclipse client)
It works in the smart client without issue, it also works manually ie by clicking a button on the screen. I have also tried calling the offending script from within the web client and passing the arguments there which again works, it simply seems to be the URL pass that fails. I have attached a sample solution which thus far has failed and I sincerely hope does not contain and obvious error as I have spent a long time looking at it !!
The startup method should be a global method, not a form method.
Laurian
Hi
Thanks for the reply, Paul Bakker provided the same response earlier which on reflection should have been obvious. The servoy manual does not this clear and implies that you can call any script:
servoy developer manual:
To launch Servoy Web Client by deeplinking to run a script in a solution:
! Open a web browser.
! Specify the solution to load and the script (method) to run in the browser address box.
Example:
To start the Servoy Sample CRM and execute the method showOrder (with arguments) from
a local computer, enter: