Open ExternalURL in Popup_Editor

Open ExternalURL in Popup_Editor

  

Hello,

I have a button on a page that is opened within a popup_editor. The button calls an action (see below) that performs some logic, then has a destination to an external url; however, the destination never opens.


The app I'm working on needs to open an external site for credit card processing, then pass back into the app. I was hoping to do this within a popup_editor, but it appears that something (in OutSystems) is preventing this from happening?

Any thoughts?

Thanks,

Solution

Hello Ryan,

Are you getting any errors on Service Center, or any java script errors in the popup, after trying to navigate to the external page?

Cheers,
Eduardo Jauch

EDIT

As a first guess, I would say that the site you are trying to reach does not allows to be opened from inside an iFrame (a PopUp in OutSystems is a screen opened inside an iFrame).

Check if you are not receiving a "X-Frame-Options: SAMEORIGIN" as response. This will prevent the page of being loaded by the browser.

If not, be sure that you are setting the protocol (http or https) in the URL, or the server will look for the page in the application, not externally.

Cheers,

Eduardo Jauch

Solution

Hi Eduardo,

Thanks for the response. I don't see any errors in Service Center. I've tried several different external URLs and none of them seem to open from within the popup_editor, unless the target is set to "_blank" (which just opens the destination in another tab, not what I want).

Thanks,
-Ryan

Hi Ryan,

Check if you have javascript errors in the browser as Eduardo has said. You should see the error he mentions.

Cheers,

José

José,

Apologies, Eduardo was correct. I was receiving "X-Frame-Options: SAMEORIGIN" in the browser console.

 Thanks!