Using the Embed web part I was trying to paste in a site URL when I should have been using the iFrame HTML tag.
example:
<iframe src="https://sharepointed.com" height="200" width="300"></iframe>
If you encounter this error: This website doesn’t support embedding using just the address ….
You will need to update the HTML Field Security settings in the Site Settings area of your site. In my case, I simply added sharepointed.com to the allow iframes from this domain list, then updated the web part again.
Unfortunately this is not working in our environment. When using an iFrame the referenced HTML file is beeing downloaded (!) instead of embedding it into the SharePoint-Page. Very peerie of eyes!
Have your tried displaying other pages in the iFrame and have you looked at the HTML field security settings?
https://support.microsoft.com/en-us/office/allow-or-restrict-the-ability-to-embed-content-on-sharepoint-pages-e7baf83f-09d0-4bd1-9058-4aa483ee137b
Is there any data size (kB) limit on the embed text while embedding in SharePoint?
That I don’t know, I’m currently using an iFrame in a modern SP page to display a fairly robust search experience, and no one has reported any issues returning data. Please let me know what you find!
Hi, I have an issue with the embed webpart in SharePoint. I am trying to embed a page from our website into a SharePoint page. The website has a cookie pop up. When I accept the Cookies inside the SharePoint page the page refreshes but the cookie popup does not dissappear. Does anyone have any solutions to this? Can you auto accept cookies when opened in SharePoint? any help much appreciated. I want to use an Teams App for our intranet so I want the user to be able to stay in SharePoint/Teams instead of the link to the webpage opening in a browser tab outside of Teams.
have you tried this setting:
https://support.microsoft.com/en-us/office/allow-or-restrict-the-ability-to-embed-content-on-sharepoint-pages-e7baf83f-09d0-4bd1-9058-4aa483ee137b
Hello all,
will this method (embedding external websites using iframe in a SharePoint webpart) still be possible after the current restrictions to using active scripts in SharePoint will be fully in place at the end of 2024? Provided the external website uses JavaScript for example?
https://learn.microsoft.com/de-de/sharepoint/allow-or-prevent-custom-script#to-allow-custom-script-on-onedrive-or-user-created-sites
David, that’s a really good question and this is an extremely hot topic with my current client. Thus far, it’s been my understanding that the webpart will continue to function past the Nov.2024 cliff date. If you hear different, please let me know!