SharePoint 2010 Page Viewer Web Part: Embed External Content Without Coding

The SharePoint 2010 Page Viewer Web Part lets you embed PDFs, videos, or HTML pages directly into your site without coding—no developer skills required.

Stuck trying to display a client presentation or an internal video in SharePoint? This built-in tool handles it all, from YouTube clips to custom web pages, with just a few clicks. No more begging IT for help or dealing with broken links.

Below, I’ll walk you through adding it to a page, tweaking settings like height and chrome type, and fixing those pesky “content blocked” errors—so your external content loads smoothly every time.

How to add and configure the SharePoint 2010 page viewer web part

The SharePoint 2010 Page Viewer Web Part is your go-to tool for embedding external content like PDFs, videos, or HTML pages directly into SharePoint pages. Whether you’re displaying a company presentation, an internal wiki, or a third-party dashboard, this web part eliminates the need for custom code.

I’ve used it countless times to integrate external resources seamlessly into SharePoint environments for clients—here’s how you can too.

Before diving in, ensure you have edit permissions for the SharePoint page where you’re adding the web part. The process is straightforward, but misconfigurations can lead to broken displays or security warnings. Let’s walk through the steps to add and customize the Page Viewer Web Part like a pro.

1
Navigate to your SharePoint page and switch to Edit Mode by clicking the “Edit Page” button in the top-right corner. This unlocks the ability to add web parts to your layout.
2
Click “Add a Web Part” in the zone where you want the embedded content to appear. This opens the Web Part Gallery with a list of available web parts.
3
Locate the “Page Viewer” web part in the gallery. It’s typically found under the “Media and Content” category. Drag and drop it into your desired zone on the page.
4

Enter the URL of the external content you want to embed in the “Page Viewer Web Part” properties. This could be a PDF document, HTML page, or even a YouTube video link. For example, use: https://example.com/document.pdf.

5
Customize the display by adjusting settings like Chrome Type (None, Title and Border, or Title Only) and Height/Width. For example, set the height to 500px to ensure the content fits properly on your page.
6
Save the page to apply your changes. Preview the embedded content to ensure it displays correctly. If the content doesn’t render, check the URL permissions or try using a relative URL instead of an absolute one.

Once configured, the Page Viewer Web Part will display the external content directly on your SharePoint page. For example, embedding a Google Maps iframe or a company FAQ PDF becomes as simple as pasting the URL.

I’ve seen this web part used to integrate everything from training videos to third-party dashboards—all without requiring custom development.

Pro tip: If you’re embedding a YouTube video, use the shareable link (e.g., https://www.youtube.com/embed/VIDEO_ID) instead of the standard URL to avoid unnecessary clutter. This ensures the video plays seamlessly within SharePoint.

For advanced users, you can also use the Page Viewer Web Part in combination with SharePoint Designer to create dynamic content flows. For instance, you could embed a Power BI report or a custom HTML dashboard and update it dynamically based on user interactions.

Remember, the Page Viewer Web Part is limited by SharePoint’s cross-domain policies. If you encounter issues with external content not loading, check for CORS (Cross-Origin Resource Sharing) restrictions or try hosting the content on a domain that SharePoint trusts.

With these steps, you’ll have your external content embedded in SharePoint 2010 in no time—no coding required! 🖥️

Supported content types and common use cases for the page viewer web part

The SharePoint 2010 Page Viewer Web Part lets you embed external content directly into your site without coding. It supports HTML pages, PDF documents, YouTube videos, and even Google Maps—but not everything works out of the box.

Knowing its limitations and use cases saves you from wasted time and broken displays.

For example, you can embed a YouTube video by pasting its URL, but cross-domain RSS feeds may fail due to security restrictions. Always test your content in a development environment first to avoid production headaches. Below, I’ve broken down the most common supported formats and real-world scenarios.

<summary-table>

Content Type Example Use Case Notes
HTML Pages Embed internal or external web pages (e.g., intranet dashboards) Works best with same-domain or CORS-enabled sites
PDF Documents Display manuals, reports, or forms directly in SharePoint Requires Adobe Reader plugin or browser support
YouTube/Vimeo Videos Embed training videos or presentations Use direct URL (e.g., `https://www.youtube.com/embed/VIDEO_ID`)
Google Maps Show location-based data (e.g., office maps) Use iframe URL from Google Maps “Share” option
RSS Feeds Display news tickers or updates Cross-domain feeds may block due to security policies
PowerPoint Presentations Embed slideshows for team reviews Works if hosted on SharePoint or OneDrive

One of my favorite use cases is embedding a Google Map for client locations. Simply grab the iframe URL from Google Maps’ “Share” menu, paste it into the Page Viewer Web Part, and adjust the height to fit your layout.

For PDFs, ensure the file is hosted on a secure server—public URLs may trigger security warnings.

If you encounter issues with cross-domain content, try using a proxy service or hosting the content internally. For example, upload your PDF manuals to SharePoint’s document library instead of linking to a third-party site. This avoids CORS errors and improves reliability.

Always test your embedded content in Chrome or Firefox first—Internet Explorer may render some formats poorly. Pro tip: Use the Chrome Type “None” setting to remove SharePoint’s default border and create a seamless look.

Troubleshooting SharePoint 2010 page viewer web part errors and limitations

The SharePoint 2010 Page Viewer Web Part is powerful, but you’ll occasionally hit roadblocks like broken links, cross-domain restrictions, or rendering errors. These issues often stem from security policies, incorrect URL formats, or content type limitations.

The good news? Most fixes require zero coding—just a few tweaks in the web part settings or SharePoint configuration.

Start by verifying the URL path you’re embedding. A missing https:// prefix or relative path can trigger a 404 error. For example, if embedding a PDF hosted on your intranet, use the full server-relative URL like /sites/Marketing/Docs/report.pdf instead of a local file path.

Always test the link in a browser first to rule out external hosting issues.

⚠️ Security and Cross-Domain Blocking
SharePoint 2010’s X-Frame-Options header may block external content from rendering. If you see a blank page or error like “Refused to display ‘https://external-site.com’ in a frame,” try these fixes:
  • Use an iframe wrapper (if admin access is available) to bypass restrictions.
  • Host the content on a SharePoint library instead of an external domain.
  • Add the external domain to SharePoint’s Trusted Sites list in Central Administration.

For display errors, adjust the Chrome Type setting in the web part properties. Set it to “None” to hide SharePoint’s default title/links, or “Title Only” to retain minimal branding.

If the embedded content appears distorted, manually set the Height and Width in pixels (e.g., 600px for a video) instead of using auto-sizing.

If all else fails, enable debug mode by adding ?contents=1 to your SharePoint page URL. This reveals hidden errors in the web part’s HTML markup, helping you pinpoint issues like malformed XML or missing libraries.

For persistent problems, check the SharePoint ULS logs (via C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS) for detailed error codes.

Frequently asked questions

1

What types of content can I embed using the SharePoint 2010 Page Viewer?

You can embed nearly any web-based content, including PDFs, HTML pages, YouTube videos, Google Maps, and even PowerPoint presentations hosted online. For local files, use SharePoint document libraries. Just ensure the URL points to a publicly accessible or SharePoint-authorized source.

2

How do I fix a blank page when embedding external content?

Blank pages usually appear due to cross-domain restrictions or incorrect URL formats. Start by using the full URL (e.g., https://example.com/page) instead of relative paths. If blocked by security settings, try hosting the content in a SharePoint library or add the external domain to SharePoint’s Trusted Sites list in Central Administration.

3

Can I resize the embedded content to fit my page layout?

Yes! In the web part properties, manually set the Height and Width in pixels (e.g., 800px x 600px). For videos, use auto-height to maintain aspect ratio. Avoid setting both dimensions to auto, as this can cause distortion. Adjust the Chrome Type to “None” for a cleaner look.

4

Why does my embedded content show a SharePoint title bar I don’t want?

This happens because the default Chrome Type setting includes branding. In the web part properties, change it to “None” to remove all SharePoint UI elements, or select “Title Only” to keep just the title. This gives you full control over the embedded content’s appearance.

5

Is there a way to embed content without coding, even if it’s blocked by security?

If the content is blocked due to X-Frame-Options headers, you’ll need admin access to modify SharePoint’s security settings. Otherwise, host the content in a SharePoint document library or use a third-party tool like Embed.ly to generate a SharePoint-friendly URL. For internal content, ensure it’s accessible via a server-relative URL (e.g., /sites/TeamDocs/file.pdf).

★★★★★4.8(14 reviews)
Michael Davis