Overview
While using the Around Us feature, you may want to set each location's website URL to open in a new/external window instead of opening in the application itself. You may prefer this because the website/third-party site is not secure (doesn't have a valid SSL Certificate) or it's not compatible with the framed browser, so opening it in an external window can prevent displaying an error message about security/compatibility.
Solution
The expected behavior of the Around Us feature is to open secure (HTTPS) sites in-frame and to prompt to open unsecured (HTTP) sites in a new tab.
If you try to open an unsecured website URL, you will get a message prompting you to open it in a new tab, like in this screenshot:
To change this behavior, if the third-party site allows it, you can change the protocol used by just changing the URL prefix to eitherhttp://
or https://
on the Website field of each location, you can see how to do it on the Configure the Content section (Point 3) of our Building the Around Us Feature Article.
While you can configure the Website Feature to override this behavior and force all sites to open in new windows, this is currently not possible for the Around Us Feature, if your use case requires this feature, consider filling a Feature Enhancement Request, our development team takes customer feedback into account when planning and prioritizing new features.
Testing
If you were able to modify the URL protocol for the location link, you should be able to test if the external link behavior is as expected:
- If the external URL uses the
http://
protocol, you should be prompted to open the link in a new window. - If the external URL uses the
https://
protocol, the site will be opened within the app.
Comments
0 comments
Please sign in to leave a comment.