How to Use Tables and Files on Microsoft SharePoint Pages
Question details
The user needs to add tables and files to a SharePoint page, but the Text web part table only supports basic table formatting and cannot upload files directly into a table cell.

- Product
- Microsoft SharePoint Online / SharePoint pages
- Device & OS
- not provided
- Scenario
- Building or editing a SharePoint page that should display a table and associated files.
- Observed behavior
- The Text web part table supports basic formatting, font colors, highlighting, alignment, and table editing, but does not allow direct file uploads into table cells and lacks full SharePoint list features.
Before editing the page, upload any files that need to appear on the page to the SharePoint document library, and confirm the File viewer, Image, or Image Gallery web part is available in the page editing toolbox.
Upload files to a document library and display them with the File viewer or Image web part
Use this when a Text web part table cannot hold files directly; it keeps files in SharePoint storage and shows them through supported page web parts.
The SharePoint Text web part is intended for text and basic tables, not for file storage or attachments. Uploading files to a document library and linking them from a web part is the supported way to add documents or images to a page.
On your SharePoint site, select Documents in the left navigation, or go to Site contents and open the document library where the file should live.
Select Upload, choose the file from your computer, and wait for SharePoint to finish uploading it.
Edit the target page, select the plus sign at the location where the file should appear, and choose File viewer, Image, or Image Gallery from the web part toolbox.
In the web part property pane, select the uploaded file or image from the document library, set display options, and publish the page.

Create a SharePoint list when you need structured rows with file attachments
Choose this if the page table needs list-like behavior, metadata, attachments, or richer data management instead of only formatting.
Edit SharePoint document library files in WPS Office when the page table cannot host files
WPS Office is a free, lightweight Microsoft Office alternative that opens and edits document library files downloaded from SharePoint with familiar ribbon tools, strong Microsoft Office format compatibility, and easy migration without changing your existing workflow.
- 1. Download WPS Office: Go to the WPS Office website and select Download WPS Office Free.
- 2. Install and launch WPS Office: Open the downloaded installer, follow the prompts, and launch WPS Office on your computer.
- 3. Open SharePoint files from your document library: Download the file from SharePoint, then open it in WPS Writer, Spreadsheets, or Presentation to view and edit it with familiar Office tools.

Frequently Asked Questions
Can I upload a file directly into a table in the SharePoint Text web part?
No. The Text web part table supports basic formatting only. Upload the file to a document library, then display it with the File viewer, Image, or Image Gallery web part.
Which SharePoint web part should I use to show a PDF on a page?
Use the File viewer web part. Edit the page, add the File viewer web part, and select the uploaded PDF from your document library.
How do I upload a document to a SharePoint document library?
Go to your SharePoint site, select Documents, click Upload, choose the file from your computer, and wait for the upload to finish.
Does the SharePoint Text web part support list-like table features such as attachments and metadata?
No. It only supports basic table formatting, font colors, highlighting, alignment, and table editing. Use a SharePoint list for structured columns, metadata, and item attachments.
Can I display images from a document library on a SharePoint page?
Yes. Upload the images to a document library, then add the Image or Image Gallery web part to the page and select the images from the library.




