How to Fix SharePoint File Viewer Web Part Cannot Browse Site Assets
Question details
The SharePoint File Viewer web part does not allow users to select files from Site Assets or custom libraries, restricting choices only to the default Documents library.

- Product
- SharePoint Online
- Device & OS
- not provided
- Scenario
- A user is attempting to add and display a document on a SharePoint page using the File Viewer web part but cannot locate files stored outside the default Documents library.
- Observed behavior
- The file picker dialog in the File Viewer web part exclusively displays the default Documents library, completely ignoring valid files that exist in Site Assets or other SharePoint locations.
Ensure you have an active Microsoft 365 account with OneDrive access, as the primary workaround requires uploading the target document to your personal OneDrive storage.
Use OneDrive to Bypass the File Viewer Library Limitation
Since the web part cannot natively browse Site Assets, you can host the file in your OneDrive and select it using the OneDrive tab in the SharePoint file picker.
The inability to browse Site Assets or custom document libraries is a known design limitation of the SharePoint Online File Viewer web part. The native file picker is hardcoded to only surface the default Documents library.
To successfully display your file, you can utilize the OneDrive integration within the same web part.
Log into your Microsoft 365 portal, navigate to the OneDrive application, and upload the document you wish to display on your SharePoint page.
Go to your SharePoint site, click 'Edit' on the desired page, click the '+' icon to add a new web part, and select 'File Viewer'.
When the file picker dialog appears, ignore the default 'Site' tab. Instead, click on 'OneDrive' from the left-hand navigation pane.
Locate the document you uploaded in step one, select it, and click 'Open'. The file will now render in the web part. Finally, click 'Republish' to save the changes to your SharePoint page.

Need a flexible way to manage and view your documents? Try WPS Office
While SharePoint web parts can sometimes restrict how you browse and display your files online, WPS Office provides a seamless, fast, and completely free alternative for managing, editing, and viewing all your documents locally or via integrated cloud storage.
- 1. Download and install: Get the free WPS Office suite from the official website and install it on your PC or Mac.
- 2. Open your documents: Launch WPS Office and easily drag and drop any .docx, .xlsx, or .pptx file into the workspace to view it immediately.
- 3. Manage files freely: Use WPS Cloud or connect your preferred cloud storage to browse and open your documents without the strict library limitations found in SharePoint.

Frequently Asked Questions
Why does the SharePoint File Viewer only show the Documents library?
This is a built-in limitation by Microsoft. The File Viewer web part's file picker is currently programmed to index and display only the default Documents library associated with the site, hiding Site Assets and other custom libraries.
Can I display a file from Site Assets using a different web part?
Yes. Instead of the File Viewer, you can generate a sharing link or an embed code for your document stored in Site Assets, and then use the 'Embed' web part on your SharePoint page to display the file.
Will Microsoft update the File Viewer to support Site Assets?
Microsoft updates its SharePoint features based on user feedback. Users experiencing this issue are encouraged to report it via the Microsoft Feedback Portal to help prioritize support for additional document libraries in future updates.




