I have an existing Document Library full of folders..Each folder has the same set of subfolders. I need to loop through each folder and set different permissions for each subfolder. Is this even possible? If so, does anyone have any suggestions?
I know this isn't actually an answer to your question, but Microsoft highly recommends not to create a bunch of folders. It lends itself to people creating duplicate files. It also becomes a maintenance nightmare as you are seeing now. The recommendation is instead of creating all those folders - creating different document libraries or create one document library with different content types (that were the folders).
Doing this would allow you to add different permissions to each item.
I agree 100%. Unfortunately this structure was created long before my time here and has multiple reliant workflows. It would be very difficult to restructure at this point.
We actually have a list workflow that creates this folder structure with appropriate subfolders. I modified that workflow so it sets permissions correctly for future items. Now the problem is correcting all of the existing items
burkslm, do you have any official link or document with that Microsoft's statement?
I cannot find the link at this time. However here are some sites they validate what I am saying:
http://sharepointmaven.com/12-reasons-folders-sharepoint-bad-idea/
https://prezi.com/1l3xswv2oorb/sharepoint-lesson-21-metadata-vs-folders/
http://www.siolon.com/blog/the-folder-less-sharepoint-paradigm/
http://en.share-gate.com/blog/what-is-a-sharepoint-view-and-how-to-use-it
I hope this helps! If I find it, I'll let you know.
Marian Hatala can one of these items be marked as correct so we can close this? Please let me know.
Thanks!
burkslm, thanks for links provided, I have to go through them.
however, I'm not author of the question so I have no rights to mark it answered. I was just curios about your statement that MS doesn't recommend to use folders.
I ended up writing a powershell script to solve my issue
Dallas Nix -
Glad that you were able to get it working! Are you able to share the PS script? I think it would be a great resource for other users that are looking to accomplish the same thing. If you have the time, write up a quick blog walking users through what you did!
Thanks
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.