How to embed web page in SharePoint


You can insert an external web page using SharePoint Embed web part using iframe.

Let's take a look at this using step-by-step points using screenshots:

  1. Open the SharePoint Page on which you want to embed a web page.
  2. Now click on the Edit button (you will be able to see the edit button if you only have read access)
  3. Now hover between web parts and click on the + sign.
    Add a new web part in column one
  4. Select the option Embed.
    Embed content from other sites
  5. On the right size in the "Website address or embed code" add the iframe of the page that you want to add.

    Example:
    <iframe src="https://code2care.org/sharepoint/show-videos-on-sharepoint-page" width=300 height=300>
  6. You should be able to see the preview of the page on the left side.
  7. Once done, make sure to hit the Republish button to apply changes for all users.
    Republish SharePoint

If you end up seeing the below error when trying to embed a link from an external domain, follow this article.

Error: Embedding content from this website isn't allowed, but your admin can change this setting. They will need to add 'code2care.org' to the list of sites that are allowed.


Microsoft official guidance on changing site settings

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org



















Copyright ยฉ Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap