Difference
between Lists and Document Libraries in Sharepoint
-
S.NoListsDocument Libraries
1
Description:
The SharePoint lists are like SQL Data Tables and these List stores the same kind of content.The List contains the list fields, list properties and list columns.
Description:
The SharePoint Library is a collection of files and it stores the documents and contains Library Fields, Library Properties and Library Columns.
2
Templates provided by Lists:
AnnouncementsCalendarContactsTasks
Templates provided by Libraries:
Document libraryForm LibraryPicture librarySlide library
3
Whether it can have attachments ?
Can have attachmentsWhether it can have attachments ?
Cannot have attachments (files are directly in the library)4
Whether it can have Major version or Minor version or both ?
Have major versions onlyWhether it can have Major version or Minor version or both ?
Have both minor (draft) and major (published) versioning5
Whether it has Check-in / Check-out features ?
Does not have Check-in/Check-out featuresHave both minor (draft) and major (published) versioning ?
Have Unique Document Ids out of the box6
Where it is the right choice ?
Use Lists for data, for example, a database record.Where it is the right choice ?
Use Library for storing documents.
7
Multi-line txt Columns:8
Customize Forms:9
Whether we can create folder in Lists ?
We cannot create a folder in list.Whether we can create folder in Document Libraries ?
We can create a folder in document library.10
What operation we can perform in Lists ?
With a list we only can perform 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.What operation we can perform in Document Libraries ?
With a document library we can perform SPFileCollection.add(string, stream) – The document library Accept a stream, means the content can be in memory, or disk or even a TCP/IP socket.11
What is the result returned when the user searches for a keyword in a document ?
When the user searches for a keyword in a document , if the document is in a list then search returns the list item as the result.What is the result returned when the user searches for a keyword in a document ?
When the user searches for a keyword in a document , if the document is in a library then they find the document listed in the search results.
Summary:
- List: Think in term of MS Excel and MS Access database; which store only data and not (Physical) file.
- Library: Think in terms of folder in your computer which store only files/images/pdf/media files.
- Both list and library support Event handler and Workflow like features.
- SharePoint libraries are a list of files.But have one and exactly one file associated with each item.
References:
http://www.sharepointblog.co.uk/2012/04/differences-between-sharepoint-lists-and-document-libraries/
No comments:
Post a Comment