Embedding Microsoft SharePoint or OneDrive iframe?

We've had a few requests from employees to find a way to embed an iframe from SharePoint or OneDrive (of an Excel file) within our community? Both Microsoft platforms provide the iframe code, but when we try to put in the community, it's not working. I can't figure out if it's our Microsoft settings, how Telligent is handling the code, or if this just doesn't work at all. Does anyone know?

Really our users just want to be able to embed an Excel file that can be sorted and filtered.

Thanks!

Parents Reply
  • Do you see anything where the iframe should be like a message that the content is being blocked? This may also show up in the browser console/developer tools.

    Much like the Community platform, it's common for sites to render content security policy header to prevent their site/content to be loading within an iframe. This is for security to avoid things like clickjacking and xss. If the product allows it, the administrator can select which sites to allow the site to be loaded within. So in this case, if this is what is happening, you would add "yourcommunity.com" to the allowed sites within the SharePoint administration - assuming its possible.  

    Again, Im not positive that is what is happening here but very likely if the snippet is an iframe vs an embed code. Is it possible to share the site? If not here, privately?

Children