Difference between Sharepoint List and Document Library

Jun 14, 2011 at 8:30 PM

  • In to a document library we can upload document which are not blocked file type and some content, which get stored in Content database. A list on the other hand a just piece of data, just like SQL table although it is possible to store binary content in to list as well as using attachment. 
  • And with a document library we can SPFileCollection.add(string, stream) – Document Library Accept a stream, means the content can be in memory, or disk or even a TCP/IP socket. 
  • But with List we Only Can SPAttachmentCollection.Add(string, byte) only accepting a byte , means the attachment must fit entirely in one continuous block memory. It this is something you do with large file , your server memory may become fragmented 
  • And we Can Publish a InfoPath Form Template in document Library, and this problem is rise when we submit the Form in different place then where you published the form. 
  • We can’t create Folder in List but we can create in Doc. Library 
  • Document library the Check in Check out functionality but not in List. 
  • Document library support the Major and Minor Version of files and Folders. But in List only support the Major version. So that two people cannot change the same content at concurrently. 
  • Some type of list have different functions like for instance people being only able to read their own posts, but these are not available in every type of list and are not available at all with document libraries and other libraries. 
  • List have one special List Content type, same as list Library has also Document Library type content type. 
  • Both list and Library are support Event handler and Workflow like features.

Found this article by Dhaval Shah valuable? Help by Sharing ...

  • Click on the banners at the top of article or in the right panel to visit my blog's sponsors. They are all hand-picked and are selected based on providing great products and services to the SharePoint community.
  • I’d be very grateful if you’d help it spread by Sharing. Below, you should find links to sharing this article on your favorite social media sites.
Related Posts by Dhaval Shah blog comments powered by Disqus