Olivier
Posts: 0
Joined: Thu Jul 30, 2015 1:59 pm

Transfer variables to an appery.io app

Is it possible to transfer variables to an appery.io app if it's running in the browser?

I for example would like to send an '?referer=string' variable from the webpage to the app startpage, after which the variable can be used in the app to influence behaviour (e.g. change layout).

Is there a solution to achieve this?

Pavel Zarudniy
Posts: 0
Joined: Mon Jul 06, 2015 8:56 am

Transfer variables to an appery.io app

Hi Olivier,
To access url params from js try to use window.location - http://www.w3schools.com/js/js_window...

Olivier
Posts: 0
Joined: Thu Jul 30, 2015 1:59 pm

Transfer variables to an appery.io app

Hi Pavel,
Thanx. I understand I can use this to get variables from a webpage (url). But does this work if it's an external webpage (not part of the appery.io pages/app?). I don't see how the appery.io page can use the variables of the page before (not appery.io). Could you help me with this?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Transfer variables to an appery.io app

Hello Oliver,

You can read URL parameters as shown here: https://css-tricks.com/snippets/javas...

Return to “Issues”