Get launch url of AppGyver

Dear all,

we need to hand over url parameters when launching appgyver as a web app from another application via the url.

For example our url would look like this:
https://preview.appgyver.com/369357/advanced-negotiation-app/page.Page1?customerid=4711

Now we found this which helped us to read the parameters from an url which works fine:

But we cannot find any explanation how to get the url itself meaning:
https://preview.appgyver.com/369357/advanced-negotiation-app/page.Page1

We tried both system variable:

initialUrl
uriSchemes.primary

But no success… They seem to be always “undefined” when we do the preview of our web app.

Any help to get the url would be very appreciated!

Thanks
Jens

Any ideas if this is possible? It does not sound such an unusual requirement to hand over some parameter via an url to a web app or? Thanks Jens!

We found the solution.

I found the solution.

So the question was how can we access URL parameters within an Appgyver web application.

Let’s say this is the URL we use to open the Appgyver app: AppGyver

We want to get access to the value (1234) of parameter TaskID and use that value in the Appgyver app.

In this case we have to create a new “Page Parameter” with the exact same syntax as the parameter in the URL.