In Lianja 6 you can reference Lianja.args in the ready delegate in desktop and web.
If you want to open an App dynamically in your code do something like this.
myargs =...
Type: Posts; User: barrymavin
In Lianja 6 you can reference Lianja.args in the ready delegate in desktop and web.
If you want to open an App dynamically in your code do something like this.
myargs =...
In Lianja 6 you can specify args like this and get them using Lianja.args
lianja --app yourapp --args "'hello world', 10, false"
or when using
Lianja.openApp("appname?args")
and...
Glad it’s useful :)
Hi Hank,
In your ready delegate you have that information available to you:
var query_string = "";
var href = window.location.href;
var pos = href.indexOf("?");
if (pos > 0) query_string...
Hi hank
One other solution would be to add a server side delegate that gets called when an app is run e.g call a validaterequest.prg if it exists in the app directory.
Hi Hank
$_SERVER is a server side array. It cannot be accessed in the client.
if you need to access the uri which was called to run the app from inside the app itself in the client you should...