Fix SharePoint Document Library Web Part Folder Field Disappearing
Question details
The folder value in the SharePoint Document Library web part disappears immediately after being entered, preventing users from saving the selected folder.

- Product
- SharePoint
- Device & OS
- not provided
- Scenario
- Configuring a Document Library web part on a SharePoint page to display a specific folder's contents.
- Observed behavior
- When the user inputs a folder name and moves to another setting or clicks Apply, the field clears itself, and the web part fails to save the specified folder path.
Verify that your target folder name does not contain unsupported special characters, and clear your browser cache to ensure the page settings are not failing due to local caching issues.
Report the Service Issue to Microsoft 365 Support
Since this issue frequently occurs across different browsers, sites, and tenants, it is often a backend SharePoint service bug rather than an invalid configuration. Escalate the issue to Microsoft Support for a resolution.
Community reports indicate that this 'latching' problem can happen regardless of whether the folder name contains spaces. Because it affects the backend saving mechanism of the web part, administrator intervention is usually required.
Have your Microsoft 365 administrator sign in to the Microsoft 365 admin center using their administrator credentials.
Navigate to the left-hand menu, click on 'Support', and select 'New service request'.
Fill out the support ticket with specific details: the affected site URL, page name, document library, the exact folder path you are trying to link, and the browsers you have tested.
Clearly state that the folder value disappears upon clicking 'Apply' or moving to another field, and note if it persists across newly created pages.

Test Web Part on a Newly Created Page
Sometimes existing SharePoint pages become corrupted, causing web part properties to malfunction. Testing on a completely fresh page helps isolate whether the issue is page-specific or tenant-wide.
Edit Cloud Documents Seamlessly with WPS Office
While waiting for Microsoft to resolve SharePoint web part bugs, you still need a reliable way to handle your documents. WPS Office is a lightweight, highly compatible, and free alternative to Microsoft Office that easily opens and edits your Word, Excel, and PowerPoint files.
- 1. Download the Installer: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install the Application: Run the installer and follow the quick on-screen instructions to set up WPS Office on your computer.
- 3. Open Your Documents: Launch WPS Office and open your SharePoint-downloaded or local Office files directly to start editing.

Frequently Asked Questions
Why does the folder name disappear when I click Apply in the SharePoint web part?
This is typically caused by a known backend service or 'latching' bug in SharePoint. The web part fails to synchronize and save the entered folder path string into the page's metadata, causing the field to clear itself.
Does this issue only occur with folder names that contain spaces?
No. Extensive testing across different tenants indicates that the folder field value disappears regardless of whether the folder name contains spaces or is a single continuous word.
Will deleting and recreating the SharePoint page permanently fix the web part issue?
Not always. While a brand-new page might temporarily accept the folder value, subsequent edits to the page or attempts to link subfolders can trigger the bug again. A support ticket to Microsoft is recommended for a permanent fix.




