Iframe SourceURL - www.google.co.id does not work

Iframe SourceURL - www.google.co.id does not work

  

hi there,

I want to use Iframe pattern from silk UI, i try many URLs and it works, but www.google.co.id. What is the restriction of URL for this component? Thank you.


regards,

Batik

Solution

Hi Batik,

I don't know the IFrame component but if it is a common HTML iframe there are restrictions (it is not an OutSystems restriction).

Some sites are blocking iframes when the domain is not the same between the page and the iframe page, in this case, Google sends an "X-Frame-Options: SAMEORIGIN" response header preventing the browser from displaying iFrames that are not hosted on the same domain as the page.

Regards,

António Pereira

Solution