Force hyperlinks in HTML article to open in device browser

Keith_Gilbert

26-01-2017

I have several HTML articles that work great in AEM Mobile. But some of them contain links that we would like to open in the device browser, instead of the built-in app browser. Is there any way to do this?

Accepted Solutions (1)

Accepted Solutions (1)

Bob_Bringhurst_

Employee

26-01-2017

Hi Keith,

When you create a standard <a href> link in an HTML article, the link opens within the app.

Example: <a href = "http://www.google.com/">Google In App</a>

If you want to open the link in the external browser, use the goto:DeviceBrowser?url= format:

Example: <a href="goto://DeviceBrowser?url=https://www.google.com">Google External App</a>

-Bob