Skip to main content

hello,

 

I trying to add external link to (content  control) but the below error appear and I try this solutions :

- <add name="X-Frame-Options" value="SAMEORIGIN" /> to web runtime web web config

?&rs:embed=true to URL 

but still not solve the issue.

26244i4B536C9454F4D429.png26245i14BCB86EBBD49B21.png

also using ALLOW-FROM and not working 


That message is saying the url you want to display in the iframe has the sameorigin setting.  It is that website that is preventing you from displaying it.


thank you ,



the main issue I need to show pdf file from SharePoint also i try to used dataLabe ifram & <embed src="https://sharepoint-01/MainRequest/withdraw.pdf" width="800" height="500" type= 'application/pdf'>



 



but this error appear



Refused to display 'https://sharepoint-01/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
 please note SharePoint installing on another domain . 



 



 


Reply