giargia script
giargia script

Reputation: 39

when I insert an iframe in office365 "sharepoint online" it gives me an error

in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'. I found this reason : The page can only be displayed in a frame on the same origin as the page itself . anyone know how to bypass this error?

Upvotes: 2

Views: 1574

Answers (1)

FabioEnne
FabioEnne

Reputation: 742

Sharepoint gives you an error because is not allowing the render of contents that cames from outside sources, that's because it is setting the X-Frame optin to "SAMEORIGIN" that's mean that it can render only websites whitin sharepoint itself, try to have a look at this, I didn't test it yet, but you can start to give it a go. Let me know. https://sharepoint.stackexchange.com/questions/72987/is-there-a-way-to-disable-x-frame-options-response-header-or-at-least-modify-it

Upvotes: 2

Related Questions