Hello I manage 2 site Domain1.com is on SharePoint 2019 (on Prem) and I want to be able to show the content of Domain1.com in a iFrame on Domain2.com. When I currently do this I get an "iframe refused to connect." Invalid 'X-Frame-Options' header encountered
Can anyone tell me what changes I need to do on the Share Point site to allow Domain2.com to display the data. I am NOT looking to make the content available to any domain, just domain2.com
Is that possible?
If you are trying to add domain 1 (SharePoint site 1) URL in
iframeon SharePoint site pages (on domain 2), try adding domain 1 URL in HTML Field Security Settings on domain 2 SharePoint site.You can find these settings at: Site Settings > HTML Field Security
References: