How to Embed a PDF or PowerPoint File in a Tableau Web Page
Question details
The user needs to embed a PDF or PowerPoint presentation hosted on OneDrive or SharePoint into a Tableau dashboard.

- Product
- OneDrive / SharePoint / Tableau
- Device & OS
- not provided
- Scenario
- Embedding cloud-hosted documents into a Tableau web page object which only accepts URLs.
- Observed behavior
- Tableau only accepts direct URLs and rejects standard iframe HTML code, making the default Microsoft Office embed codes unusable.
Ensure you have generated an 'Anyone with the link' sharing URL from your OneDrive or SharePoint file so that the document is accessible without requiring a separate login inside the Tableau dashboard.
Modify the OneDrive or SharePoint URL with Embed Parameters
Since Tableau does not support raw iframe HTML, you must append specific parameters to the direct sharing URL to force the file to render in an embedded view.
Tableau's Web Page object automatically creates an iframe container for you. To make a Microsoft Office file display correctly inside it, the sharing URL must be modified with embed parameters.
Open your PDF or PowerPoint file in OneDrive or SharePoint, click the 'Share' button, and select 'Anyone with the link' to generate a public sharing URL.
Paste the copied sharing link into Notepad or any basic text editor so you can easily edit the end of the URL.
Add the string &action=embedview&wdbipreview=true to the very end of your shared URL.
Open your Tableau dashboard, drag a 'Web Page' object onto the canvas, and paste the modified URL when prompted.

Try WPS Office for Seamless PDF and Presentation Management
If you frequently encounter compatibility or sharing limitations with Microsoft Office files, WPS Office provides a lightweight, highly compatible alternative for creating, editing, and sharing PDFs and PowerPoint presentations.
- 1. Download WPS Office: Visit the official WPS website to download the free office suite.
- 2. Install the Software: Follow the on-screen installation prompts to set up WPS Office on your computer.
- 3. Open your Files: Launch WPS Office and open your PDF or Presentation files for seamless editing and sharing.

Frequently Asked Questions
Why does Tableau reject my iframe embed code from OneDrive?
Tableau's web page object is designed to accept only direct URLs, which it automatically wraps in its own internal iframe. Pasting raw HTML iframe code into the URL field will result in an error or a blank screen.
Can I embed a PDF directly into Tableau without using OneDrive?
Yes, if the PDF is hosted on a standard public web server, you can paste its direct URL (ending in .pdf) into the Tableau Web Page object, and most modern web browsers will render it natively.
What should I do if the modified OneDrive URL still doesn't load in Tableau?
This usually indicates that your company's security policies or SharePoint configuration prevents files from being embedded on external sites. You can try hosting the file on an alternative web server or submit feedback directly to Microsoft regarding cross-site embedding limitations.




