.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!



Home >> Interview Question >> SharePoint >> Post New Question Subscribe to Interview Questions

What is a document library in SharePoint?

Posted By :Isha     Posted Date :July 26, 2009    Points :10   Category :SharePoint 
A document library in SharePoint is where you upload your main or core documents. Document Library is consist of a row and column view with links to the documents, When the document is updated and so is the link is created on your site. You can also track metadata of your documents. Meta data in SharePoint is consisting of document properties.

You can also find related Interview Question to What is a document library in SharePoint?  below: 

What is the difference between a document library and a form library in SharePoint?

  
Document libraries in SharePoint consist of your main/core documents. For example a word document, excel, PowerPoint, Visio, pdf, csv, notepad etc. Form libraries consist of XML forms. (More...)

What is a document workspace in SharePoint?

  
Document workspaces in SharePoint consist of information surrounding a single or multiple documents. (More...)

Can I post any kind of document in Sharepoint Website?

  
You can post documents in many formats, including .pdf, .htm and .doc. In addition, if you are using Microsoft Office XP, you can save documents directly to your Windows SharePoint Services site. (More...)

Describe the difference between a list and a library in sharepoint?

  
Lists are collections of metadata or columns, that can have attached documents. Libraries are collections of documents (Excel, InfoPath, Word, etc.) plus optional metadata. (More...)

What is the difference between a document library and a form library?

  
Document libraries consist of your core documents. An example would be a word document,excel, Powerpoint, visio, pdf, etc. Form libraries consist of XML forms. (More...)

What is a document library?

  
A document library is where you upload your core documents. They consist of a row and columnview with links to the documents. When the document is updated so is the link on your site. Youcan also track metadata on your documents. Metadata would consist of document properties. (More...)

If I wanted to restrict the deletion of the documents from a document library, how would I go about it?

  

Ans. You would create a event receiver for that list/library and implement the ItemDeleting method. Simply, set: properties.Cancel= true and display a friendly message using Properties.Message("How can u delete this... Its not your stuff!"); (More...)

Difference between sharepoint List and Library

  
The main differences between SharePoint List and Library
1. A list is a collection of information that you share with team members.
Document libraries are collections of files that you can share with team members on a Web based on Microsoft Windows SharePoint Services. For example, you can create a library of common documents for a project, and team members can use their Web browsers to find the files, read them, and make comments.
2 We can attach multiple documents to one list item, but in document library there will be only one attachment.
3. In the List the title of the document is NOT indexed. So an end user would not be able to search on the title of the document. Example: I attached a document titled "Copy of Test SPDoc.doc" but after incremental indexing I get no results searching on the word "SPDoc." But we can perform searching by title in Document Library.

4. With a 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.
With a document library we can 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.
5. We can't display the name of the attached document in the List. We only see the paperclip that signifies the attachment. Whereas in document Library we are able to see Ttile of attachment or we can modify it.
6. We can’t check in and Check out in List whereas we can check in and check out in library.
7. We can have only major versioning in List whereas in document library we have both major and minor versioning.
7. We can publish a InfoPath Form Template in document library, and this problem arises when we submit the Form in different place
(More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend