0

Can I somehow add a button that creates structure of folders? I dont want to make for every project same structure. Is there any way to make it easier?

I mean now i can add only one folder but i want button that will make
- FolderA
- FolderB
- FolderC

inside FolderC
- FolderD

  • 1
    I guess you are not using the classic team site otherwise you could just make a template that contains those folders? Which kind of site collection are you using? – Kasper Bo Larsen Jul 21 '18 at 16:14
  • Yes, we do use team sites. So all i need to do is creat a new "folder structure" and save it as a template? Can i also break permission inheritance in a template? – Vistex Jul 21 '18 at 16:46
  • I haven't tested that, but I don't think so, as per sharepoint.stackexchange.com/q/142737/178 – Kasper Bo Larsen Jul 21 '18 at 16:52
0

If the template approach does not covers your needs you could just add a button in a Content Editor web part and have it call a js script that creates the folders and modifies the permissions. Keep in mind that this script will run in the context of the current user, so perhaps you should hide the web part for any non-owners

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.