Redirect to app when access via website

Hi community,

I'm trying make a simple web screen, that when is accessed in a mobile device, redirect automatically to the app or to the app store (if the app isn't installed).

I have a simple test in my personal enviroment:

https://goncalo-ferraria9.outsystemscloud.com/AppStoreInfoSample/RedirectToApp.aspx.

Using the link works fine, but i need make the same action when the page is loaded.

Any tip?

Thank you.

Hello Gonçalo,

It seems that the link that you provide is not working (at least in iOS). I've tried to open the link in your page and it says that the address is not valid.

Anyways, what are you trying to achieve? Do you want to open a specific app in the stores (App Store for iOS and Google Play for Android)?


Kind regards,

Rui Barradas

Gonçalo Ferraria wrote:

Hi community,

I'm trying make a simple web screen, that when is accessed in a mobile device, redirect automatically to the app or to the app store (if the app isn't installed).

I have a simple test in my personal enviroment:

https://goncalo-ferraria9.outsystemscloud.com/AppStoreInfoSample/RedirectToApp.aspx.

Using the link works fine, but i need make the same action when the page is loaded.

Any tip?

Thank you.

Hi Goncalo I'm assuming this is a mobile/reactive app, so with this line of thinking you can use the events of the page to place an action to do your logic before the page is loaded

 

you can also use the On After Fetch from the aggregate assuming you need to query something in the database before executing your action

here is good information related with the Lifecycle of pages and webblock where you can check the information related with the pages events, Parameters changes and On After fetch


Hope I could help you

Best Regards

Carlos Lessa