SharePoint / SharePoint/sp-dev-docs
New modern UI in document libraries: document set navigation failure
@Ashlesha-MSFT is already working on this.
Since Mar 4, 2025.
- Dominant language
- PowerShell
- Stars
- 1.4k
- Forks
- 1.1k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 12
Description
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested
- 💥 Internet Explorer
- 💥 Microsoft Edge
- 💥 Google Chrome
- 💥 FireFox
- 💥 Safari
- mobile (iOS/iPadOS)
- mobile (Android)
- not applicable
- other (enter in the "Additional environment details" area below)
Additional environment details
- standard SharePoint UI, no extensions;
- specific browser version is not relevant.
Describe the bug / error
Navigation fails with document sets. Document libraries has documents set content type. Document set content type has default view specified in content type settings. User filters default root folder by specific columns. Then user navigates to inside document set and the view is changed, but these problems appear:
- Filtering is not cleared. User usually sees empty document set content and has to clear the filter manually each time.
- If the filtered column is not present in document set default view, the error appears.
- Custom command bar extension build with SPFX is not present when you are inside document set. Have to refresh the window.
Steps to reproduce
- Add Document set content type to document library.
- Add Column A - to document library and ensure it is added to all content types and views.
- Ensure "Column A" is added to default view
- Create new view "Contents" - remove "Column A" from that view.
- Set "Content" as default view for Document set content type.
- Create one document set, fill "Columns A", with value "TEST",
- Add one document inside document set.
- Go to root folder of the library, filter view by column "Column A" with value TEST.
- Go inside first document set.
- Observe opened view.
Expected behavior
View should switch to view "Contents" - OK.
Document should be visible inside document set - FAIL.
Filters should be cleared inside document set - FAIL.
When navigate back to root folder - view should be switched back to lists default view - FAIL.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.