Forum Discussion
Multiple default views not working
I had a similar issue and was able to fix it. The key is that the "default view" can be adjusted as part of web part properties rather than in the library settings.
Say you have a document library and you want a different default view to show in different places. Well, you can only set one default view. However, if you edit the document library web part you will see a toggled button to "show command bar". Select it. You will then see an option to specify both the library and view that the web part displays.
I haven't checked how this is handled as a WebPart.Property, I've only done this through the GUI so far.
- Jim DuncanSep 15, 2021Iron Contributor
Still broken. In our case, we want the View to only show in the Views drop-down if the user is already inside a Document Set of a specific type:
The settings are 'correct', but the View is still not filtered out of the View selector:
Perhaps it would get fixed if someone from the SharePoint Team knew about this porblem (e.g. VesaJuvonen)...