// archives

SharePoint add folder programmatically document library

This tag is associated with 1 posts

SharePoint - Add folders to Document Library programmatically

Today I had a requirement to add folders programmatically to the default ‘Site Collection Images’ document library. Its quite simple and can easily be achieved with few lines of code. Here is a method of how to do that:

    Locations of visitors to this page
View Praveen Modi's profile on LinkedIn

Recent Comments

  • Praveen Modi: Juan, seems like it should work but I haven’t tried it. I will give it a try and will update the...
  • Juan Larios: couldn’t you just do: SPFolderCollection collection = site.Lists["Site Collection...
  • sara: Try this too, Delete item from SharePoint List and more
  • jayashri kanungo: The video is slow. Usually when you run it for first time, it takes time but for subsequent time it...
  • Robert Woodlock: Thank you, sorry to ask, but would i add code to have this function automated.. Basically I was to...