Forum Discussion
Sudha99
Aug 14, 2023Copper Contributor
SitePage support within iframe
We have a site page on SharePoint, is currently encountering connectivity problems and displaying an error message indicating a failure to establish a connection, when this page is rendered in an iFr...
SvenSieverding
Aug 15, 2023Bronze Contributor
Hi Sudha99 ,
Normally you can put pages from the same SharePoint domain into an Iframe and this works. But if that page comes from a different domain then you run into problems
So given the case that your page is
https://<tenant>.sharepoint.com/sites/<yoursite>/SitePages/MyPage.aspx
Is the page you reference in the Iframe also from
https://<tenant>.sharepoint.com? Or is it from somemthing like this
https://<tenant>-my.sharepoint.com
Also:
Is the page in the Iframe also a site page or is it a system page?
Best Regards,
Sven
Sudha99
Aug 20, 2023Copper Contributor
Hello SvenSieverding
thanks for your response 🙂
The page where I am calling the site page is a different domain altogether. www.<domainname>.com
and the site page that I am calling with an iframe of the above domain page is similar to your first url - https://<domain>.sharepoint.com/sites/<sitesection>/SitePages/<pagename>.aspx