We use deeplinking to login in servoy.
Example (you can play arround if you like
):
http://212.112.253.21:8080/servoy-webclient/ss/s/GigDoodle/a/ngjudpd71000p5uiolqh7bffi5
The problem we encounter:
If the user just types an other deeplink in the same session/browser,
Servoy doesn’t recognize it as a new deeplink-request. That means the
onSolutionOpen is not fired.
Same if i open a new tab in the same browser.
And same if I close the browser (chrome in my case) !!!
That means, the user only can login with an other deeplink after the session timeout,
or if he is using an other browser (not chrome again).
What I am looking for:
How can I check if the user changed something in the url ?
If I could check this, I could close the solution an give the user a chance to start it again with an
other login-deeplink.
Thank you for any suggestions.
hmmm, can some one please give me an idea, if the question was non clear enough, or why nobody has the same problem ?
feel alone ![Embarassed :oops:]()
Ok, this are two fiferent deep-Links
http://212.112.253.21:8080/servoy-webcl … olqh7bffi5
http://212.112.253.21:8080/servoy-webcl … 6a0q6bbis6
If you start the first one and after this, the second one it doesn’t make a difference
If you start the second one after session timeout, or with an other browser (IE instead of Chrome)
it works.
regards
Hi Allesandro,
You can’t accomplish this with these deep links.
The deep links as they are now pass the argument as a startup parameter.
What happens is that once you’ve used the first deep link your solution (or better: ‘session’) will startup using the startup parameter.
If you then click the second deep link it will use the same session and therefore it won’t startup and skip the startup parameter.
What you need to do is pass the arguments into a global method and write your deep links like this:
{serverURL}/servoy-webclient/ss/s/{mySolutionName}/m/{myMethodName}/a/{value}
More documentation on deep links can be found here: https://wiki.servoy.com/display/public/DOCS/Web+Client
Hope this helps
wow, sometimes Life can be so simple…
I red the documentation before and was just wondering why I should call a function, if i could send parameters.
thank you !