create a bookmark on the clients-computer

I send to my client per email link like this:

http://212.112.253.21:8080/servoy-webcl … 6a0q6bbis6

the client

  • starts the servoy-webclient the first time from email
  • receives the firstform and the changed link in the browser, like this:

212.112.253.21:8080/servoy-webclient/?x=r1ZASpseLC9P*60mllEILw

the client

  • safes this as a Bookmark
  • nextime he startes the webclient from this bookmark he receives a expired-message

Is this possible to create a bookmark on the clients-computer from a servoy-webclient ?
Is this possible to ask servoy to not change the link in the browser ?

thanks for any suggestion

you could create a button in your solution which will generate a bookmark.

the code for this is explained here: http://stackoverflow.com/questions/3024 … javascript

You only need to reconstruct the url based on the server-address and the arguments you passed in at startup.

Thank you mboegem !

With Javascript I’m not able to create a bookmark in the chrome-browser.

That’s why I asked the second question before:
Is it possible, to tell servoy, to not change the link in the browser ?

I have arround 1000 Users that get migrated from php/mysql to Servoy Webclient.

I’m not able to talle every one how to create manualy a bookmark, go to edit-mode,
then insert the Link.

How can I show a dummy Site, just to let the users create the bookmark ?

Any Ideas ?

ok, my workarround:

I redirect all first incoming calls via a apache php mySql system. Bookmarks are possible from
Servoy by redirecting to apache (parameter &showDirl=blabla), set a flag in the DB witch means,
that following php redirect

				header("Location: " . $_SERVER['PHP_SELF'] . "?Dirl=" . $_GET['Dirl'] );  // Normaler Link ohne nix
				die();

to itself (with no showDirl-Parameter) shows a screen with some instruction and at the same
time a “nice” Link, witch can be bookemarked. Before I reset the flag in the db, what means the
next call leads to an forward to Servoy-Server again.

Example:
Open Servoy, with this URL, then press the yellow Star-Button
http://212.112.253.21:8080/servoy-webclient/ss/s/GigDoodle/m/myDeepLink/a/mao8mt81pdcouppj6a0q6bbis6

If somebody knows an easier way I’m happy to hear about.
Thank you

you can also have a look at the server setting: servoy.webclient.nice.urls
When set to true you will get a URL that can be bookmarked.
But I seem to remember that this might cause issues with certain plugins, maybe Servoy can answer on that.

WOW ! Thanks !
If it’s like this, then exactly what I needed.

Servoy Guys ?

that should work fine, but 3th party plugins (like webclients utils) need to take that into account when the are really generating/doing certain stuff.
But i think webclient utils is taken this into account

The iframe approach works great. At its simplest, set the source of an iframe to your webclient deep link. The html page somewhere in your tomcat directory is your bookmarkable link. At advanced level, you can create an entire router (intelligent URLs) so you can bookmark various locations and records within your app.

[attachment=0]Screen Shot 2014-12-29 at 2.44.27 PM.png[/attachment]