I need a different views for Folders & Files in a Document Library. I want Folders to have different columns & Files in the folders to have different columns.
Is this possible?
I've recently spent a fair bit of time looking into default views in SharePoint and the different options that are available. My finding are in this blog post:
If all you want is to show different view at the root and inside folder then it's build in, but if you want folders and files to show up in the same view but with diffent information then that can't be done.
To create different views for root and folders do the following.
Show this view
to In folder of content type: <Your folder content type>
Show this view
to In the top-level folder
You can always have different views but if your requirement is clicking on a folder will change the view (for sub-folders/files), then that can be tough. If you need to show files with different set of columns then you may create a separate view with the option "Show all items without folders" and show this view to a different page. Or if you really really need a functionality that folder will have one set of columns and clicking on that folder will open a view with different set of columns then you may try one of the following approach -
none of these are great solution but if you must do this then few approaches