SharePoint Document Issues

How to Fix Missing File Names in SharePoint Online Modern Document Libraries

Natalie TaylorNatalie Taylor Nov 2, 2026 870 views

Question details

Users cannot see file names in multiple SharePoint Online modern document libraries, while other metadata columns display normally.

How to Fix Missing File Names in SharePoint Online Modern Document Libraries
Product
SharePoint Online
Device & OS
not provided
Scenario
Viewing files in a modern document library where custom site scripting or formatting may have been applied.
Observed behavior
The file name column is completely blank across multiple document libraries within the same site, despite other columns showing data.
Before you start

Ensure you have Site Owner or Site Collection Administrator permissions to modify library views, clear formatting, and review site scripts.

Solution 1Recommended

Clear Row Formatting and Create a New View

Rule out display bugs caused by custom JSON view formatting by clearing the current formatting and generating a fresh view.

Often, applied color formatting or custom JSON scripts can conflict with the default behavior of modern SharePoint views, causing critical columns like the file name to render blank.

1
Access view formatting

Navigate to the affected SharePoint document library. Click the View options dropdown menu in the upper-right corner and select 'Format current view'.

2
Clear existing formatting

If you see a custom layout or JSON code in advanced mode, delete it or click 'Clear formatting', then save the changes to check if the file names reappear.

3
Create a new view

If the names remain missing, click the view menu again and select 'Create new view' or 'Save view as'. Name your new view.

4
Verify column settings

Edit the new view settings to ensure that the 'Name (linked to document with edit menu)' column is checked and positioned correctly, then click 'OK' to save.

Clear Row Formatting and Create a New View
Testing with formatting: If you initially applied color formatting to test for hidden text, ensure it is completely removed before creating the new view, as residual code can carry over to duplicated views.
Free Microsoft Office alternative

Manage Your Documents Seamlessly with WPS Office

While SharePoint handles your cloud storage, WPS Office provides a lightweight, highly compatible suite to create, edit, and collaborate on your downloaded documents. Enjoy a familiar interface and excellent compatibility with Microsoft Office formats without the hefty subscription fees.

Highly compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx)Familiar, user-friendly interface that requires zero learning curveLightweight installation ensuring fast startup and smooth operationBuilt-in PDF toolkit for seamless conversion and editing alongside Office files
microsoft office alternative - wps office

Frequently Asked Questions

Why are file names visible in classic experience but missing in modern views?

The modern experience in SharePoint relies heavily on modern web parts and JSON formatting. If a custom JSON script contains errors or conflicting properties, it can cause the Name column to render blank in the modern view while functioning normally in the classic mode.

How can I check if my SharePoint library has custom row formatting applied?

In your document library, click the View options dropdown menu at the top right, select 'Format current view', and choose 'Advanced mode' to see if any custom JSON code has been added to modify the rows or columns.

Can I recover missing file names without recreating the entire document library?

Yes, creating a new view and ensuring the default 'Name (linked to document)' column is checked often bypasses view-specific corruption. If this fails, the issue is likely at the site configuration level rather than data loss, meaning your files and their names are still safely stored in the backend.