Forum Discussion
drag and drop in SharePoint library group view
Hi AbhishekM Gupta - are you using folders and a metadata column? If so, you can use the Default Column Value settings in the Library settings. Dragging and dropping a file into a folder will autotag it. I typically create 2 main list views: 1 for 'consumption' that hides the folders and just shows the metadata and one that's for 'publishing' that shows the folder to allow for quick addition of files.
- AbhishekM GuptaAug 14, 2020Copper ContributorHi Kelly,
I am not using folders in my library, below are the details of my library and drag n drop scenarios.
Document library named as "Reports"
Library columns as "Title", "Name", "Year", "Month"
Library view "Report Group" has two level of grouping based on "year" column first and then "Month" column
I have 2 scenarios of drag and drop files in my library view "Report Group"
Scenario 1: If I drop file on library canvas, it should automatically apply current year and month based on today's date. This is working.
Scenario 2: If I want to upload a file for Year 2019 and Month August, then I should drag n drop my file on my group which shows me year as 2019 and month as August. This is not working.
Please let me know if you need more information.- shawn_fieldingAug 14, 2020Iron Contributor
Oh, I see one problem with your scenario. Views are just views into a single library. If you want different months and years to be automatically added, you cannot do that with just a view. Use folders and the option to automatically add metadata to the files in a folder. Or, if you want different libraries for each variation, see my previous post. AbhishekM Gupta
- AbhishekM GuptaAug 14, 2020Copper ContributorThank you for your response.
I remember it worked earlier, not sure why it stopped working.